public interface DomainElement1D extends Serializable, Comparable<DomainElement1D>
DomainElement1D
can be seen as a monodimensional range of values with its own label.
All DomainElement1D
D must have a human readable name.
All DomainElement1D
objects are immutable and thread-safe.
Modifier and Type | Method and Description |
---|---|
boolean |
contains(double value)
This methods can be used to check whether or not a given value belongs to
DomainElement1D . |
boolean |
contains(Number value)
This methods can be used to check whether or not a given value belongs to
DomainElement1D . |
boolean |
contains(Range range)
This methods can be used to check whether or not a given
NumberRange belongs to DomainElement1D . |
boolean |
equals(Object object)
Compares the specified object with this domain element for equality.
|
String |
getName()
Returns the domain element name.
|
Range |
getRange()
Provides access to the input
NumberRange for this DomainElement1D . |
compareTo
String getName()
boolean equals(Object object)
Range getRange()
NumberRange
for this DomainElement1D
.DomainElement1D
is defined.boolean contains(double value)
DomainElement1D
.value
- to check for the inclusion.true
if the value belongs to this DomainElement1D
, false
otherwise.boolean contains(Number value)
DomainElement1D
.value
- to check for the inclusion.true
if the value belongs to this DomainElement1D
, false
otherwise.boolean contains(Range range)
NumberRange
belongs to DomainElement1D
.value
- to check for the inclusion.true
if the NumberRange
belongs to this DomainElement1D
, false
otherwise.Copyright © 2006–2018 GeoSolutions. All rights reserved.