public class DoubleRangeValueDomain extends Object implements IRangeValueDomain<Double>
Modifier and Type | Field and Description |
---|---|
(package private) String |
description
description of the valueDomain
|
(package private) Double |
max
max value
|
(package private) Double |
min
min value
|
Constructor and Description |
---|
DoubleRangeValueDomain(double min,
double max)
Constructor with min and max value
|
Modifier and Type | Method and Description |
---|---|
boolean |
containsValue(Double d)
tests whether a double value is contained in this valueDomain
|
String |
getDomainDescription()
gives a description of this ValueDomain
|
Double |
getMaxValue() |
Double |
getMinValue() |
Double |
produceValue(String... stringArray) |
String |
toXML()
creates an XML-String of the ValueDomain
|
Double min
Double max
String description
public DoubleRangeValueDomain(double min, double max)
min
- minvalue of the value rangemax
- maxvalue of the value rangepublic String getDomainDescription()
getDomainDescription
in interface IValueDomain<Double>
public boolean containsValue(Double d)
containsValue
in interface IValueDomain<Double>
d
- the value which has to be testedpublic String toXML()
toXML
in interface IValueDomain<Double>
public Double getMaxValue()
getMaxValue
in interface IRangeValueDomain<Double>
Object
can be replaced by a specialized type.
(e.g. BoundingBox: public double[] getMaxValue()
)public Double getMinValue()
getMinValue
in interface IRangeValueDomain<Double>
Object
can be replaced by a specialized type.
(e.g. BoundingBox: public double[] getMinValue()
)public Double produceValue(String... stringArray)
produceValue
in interface IValueDomain<Double>
Copyright © 2012–2017 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.