public interface Domain1D<T extends DomainElement1D> extends List<T>
Domain1D
as a list of DomainElement1D
. DomainElement1D
are sorted by their values. Overlapping ranges are not
allowed. ThefindDomainElement(double)
method is responsible for finding the right DomainElement1D
for an arbitrary domain value.Modifier and Type | Method and Description |
---|---|
T |
findDomainElement(double sample)
Returns the
DomainElement1D of the specified sample value. |
Range |
getApproximateDomainRange()
Returns the range of values in this
Domain1D . |
String |
getName()
Returns the name of this object.
|
boolean |
hasGaps()
Tell us if there is a gap in this
Domain1D which means a range where no DomainElement1D is defined. |
String getName()
Range getApproximateDomainRange()
Domain1D
. This is the union of the range of values of every Domain1D
.T findDomainElement(double sample)
DomainElement1D
of the specified sample value. If no DomainElement1D
fits, then this method returns null
.sample
- The value.null
.boolean hasGaps()
Domain1D
which means a range where no DomainElement1D
is defined.true
in case a gap exists, false
otherwise.Copyright © 2006–2017 GeoSolutions. All rights reserved.