|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Domain1D<T extends DomainElement1D>
An immutable 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.
modules/library/render (gt-render.jar)
Method Summary | |
---|---|
T |
findDomainElement(double sample)
Returns the DomainElement1D of the specified sample value. |
NumberRange<? extends Number> |
getApproximateDomainRange()
Returns the range of values in this Domain1D . |
InternationalString |
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. |
Methods inherited from interface List |
---|
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray |
Method Detail |
---|
InternationalString getName()
NumberRange<? extends Number> 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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |