Uses of Class
org.apache.sis.measure.Range
-
Packages that use Range Package Description org.apache.sis.measure Units of measurements, values related to measurement (like angles and ranges) and their formatters.org.apache.sis.util.collection Addition to the collection framework. -
-
Uses of Range in org.apache.sis.measure
Subclasses of Range in org.apache.sis.measure Modifier and Type Class Description classMeasurementRange<E extends Number & Comparable<? super E>>A range of numbers associated with a unit of measurement.classNumberRange<E extends Number & Comparable<? super E>>A range of numbers capable of widening conversions when performing range operations.Methods in org.apache.sis.measure that return Range Modifier and Type Method Description Range<E>MeasurementRange. intersect(Range<E> range)Returns the intersection between this range and the given range.Range<E>Range. intersect(Range<E> range)Returns the intersection between this range and the given range.Range<?>RangeFormat. parse(String source)Parses text from the given string to produce a range.Range<?>RangeFormat. parse(String source, ParsePosition pos)Parses text from a string to produce a range.Range<E>[]MeasurementRange. subtract(Range<E> range)Returns the range of values that are in this range but not in the given range.Range<E>[]Range. subtract(Range<E> range)Returns the range of values that are in this range but not in the given range.Range<E>MeasurementRange. union(Range<E> range)Returns the union of this range with the given range.Range<E>Range. union(Range<E> range)Returns the union of this range with the given range.Methods in org.apache.sis.measure with parameters of type Range Modifier and Type Method Description static <N extends Number & Comparable<? super N>>
NumberRange<N>NumberRange. castOrCopy(Range<N> range)Returns the specifiedRangeas aNumberRangeobject.booleanMeasurementRange. contains(Range<? extends E> range)Returnstrueif the supplied range is fully contained within this range.booleanRange. contains(Range<? extends E> range)Returnstrueif the supplied range is fully contained within this range.Range<E>MeasurementRange. intersect(Range<E> range)Returns the intersection between this range and the given range.Range<E>Range. intersect(Range<E> range)Returns the intersection between this range and the given range.booleanMeasurementRange. intersects(Range<? extends E> range)Returnstrueif this range intersects the given range.booleanRange. intersects(Range<? extends E> range)Returnstrueif this range intersects the given range.Range<E>[]MeasurementRange. subtract(Range<E> range)Returns the range of values that are in this range but not in the given range.Range<E>[]Range. subtract(Range<E> range)Returns the range of values that are in this range but not in the given range.Range<E>MeasurementRange. union(Range<E> range)Returns the union of this range with the given range.Range<E>Range. union(Range<E> range)Returns the union of this range with the given range.Constructors in org.apache.sis.measure with parameters of type Range Constructor Description MeasurementRange(Range<E> range, Unit<?> unit)Constructs a range with the same values than the specified range and the given unit.NumberRange(Range<E> range)Constructs a range with the same type and the same values than the specified range.Range(Range<E> range)Constructs a range with the same type and the same values than the specified range. -
Uses of Range in org.apache.sis.util.collection
Methods in org.apache.sis.util.collection that return Range Modifier and Type Method Description Range<E>RangeSet. first()Returns the first (lowest) range currently in this sorted set.Range<E>RangeSet. last()Returns the last (highest) range currently in this sorted set.protected Range<E>RangeSet. newRange(E lower, E upper)Returns a newRangeobject initialized with the given values.Methods in org.apache.sis.util.collection that return types with arguments of type Range Modifier and Type Method Description Comparator<Range<E>>RangeSet. comparator()Returns the comparator associated with this sorted set.Class<Range<E>>RangeSet. getElementType()Returns the type of elements in this collection, which is alwaysRange.SortedSet<Range<E>>RangeSet. headSet(Range<E> upper)Returns a view of the portion of this sorted set whose elements are strictly less thanupper.SortedSet<Range<E>>RangeSet. intersect(Range<E> subRange)Returns a view of the portion of this range set which is the intersection of thisRangeSetwith the given range.Iterator<Range<E>>RangeSet. iterator()Returns an iterator over the elements in this set of ranges.SortedSet<Range<E>>RangeSet. subSet(Range<E> lower, Range<E> upper)Returns a view of the portion of this sorted set whose elements range fromlower, inclusive, toupper, exclusive.SortedSet<Range<E>>RangeSet. tailSet(Range<E> lower)Returns a view of the portion of this sorted set whose elements are greater than or equal tolower.Methods in org.apache.sis.util.collection with parameters of type Range Modifier and Type Method Description booleanRangeSet. add(Range<E> range)Adds a range to this set.booleanRangeSet. contains(Range<E> range, boolean exact)Returnstrueif this set contains the specified element.SortedSet<Range<E>>RangeSet. headSet(Range<E> upper)Returns a view of the portion of this sorted set whose elements are strictly less thanupper.SortedSet<Range<E>>RangeSet. intersect(Range<E> subRange)Returns a view of the portion of this range set which is the intersection of thisRangeSetwith the given range.SortedSet<Range<E>>RangeSet. subSet(Range<E> lower, Range<E> upper)Returns a view of the portion of this sorted set whose elements range fromlower, inclusive, toupper, exclusive.SortedSet<Range<E>>RangeSet. tailSet(Range<E> lower)Returns a view of the portion of this sorted set whose elements are greater than or equal tolower.
-