Package | Description |
---|---|
org.apache.sis.measure | |
org.apache.sis.metadata.iso.extent |
Information about spatial, vertical, and temporal extent.
|
org.apache.sis.parameter |
Descriptions and values of parameters used by a coordinate operation or a process.
|
org.apache.sis.util.collection |
Addition to the collection framework.
|
Modifier and Type | Class and Description |
---|---|
class |
MeasurementRange<E extends Number & Comparable<? super E>>
A range of numbers associated with a unit of measurement.
|
class |
NumberRange<E extends Number & Comparable<? super E>>
A range of numbers capable of widening conversions when performing range operations.
|
Modifier and Type | Method and Description |
---|---|
Range<E> |
Range.intersect(Range<E> range)
Returns the intersection between this range and the given range.
|
Range<E> |
MeasurementRange.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>[] |
Range.subtract(Range<E> range)
Returns the range of values that are in this range but not in 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.union(Range<E> range)
Returns the union of this range with the given range.
|
Range<E> |
MeasurementRange.union(Range<E> range)
Returns the union of this range with the given range.
|
Modifier and Type | Method and Description |
---|---|
static <N extends Number & Comparable<? super N>> |
NumberRange.castOrCopy(Range<N> range)
Returns the specified
Range as a NumberRange object. |
boolean |
Range.contains(Range<? extends E> range)
Returns
true if the supplied range is fully contained within this range. |
boolean |
MeasurementRange.contains(Range<? extends E> range)
Returns
true if the supplied range is fully contained within this range. |
Range<E> |
Range.intersect(Range<E> range)
Returns the intersection between this range and the given range.
|
Range<E> |
MeasurementRange.intersect(Range<E> range)
Returns the intersection between this range and the given range.
|
boolean |
Range.intersects(Range<? extends E> range)
Returns
true if this range intersects the given range. |
boolean |
MeasurementRange.intersects(Range<? extends E> range)
Returns
true if this range intersects 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.subtract(Range<E> range)
Returns the range of values that are in this range but not in the given range.
|
Range<E> |
Range.union(Range<E> range)
Returns the union of this range with the given range.
|
Range<E> |
MeasurementRange.union(Range<E> range)
Returns the union of this range with the given range.
|
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
static Range<Date> |
Extents.getTimeRange(Extent extent)
Returns the union of all time ranges found in the given extent, or
null if none. |
Modifier and Type | Method and Description |
---|---|
Range<?> |
DefaultParameterDescriptor.getValueDomain()
Returns the domain of values with their unit of measurement (if any), or
null if none. |
static Range<?> |
Parameters.getValueDomain(ParameterDescriptor<?> descriptor)
Returns the domain of valid values defined by the given descriptor, or
null if none. |
Modifier and Type | Method and Description |
---|---|
<T extends Comparable<? super T>> |
ParameterBuilder.createBounded(Range<T> valueDomain,
T defaultValue)
Creates a descriptor for values in the domain represented by the given
Range object. |
Constructor and Description |
---|
DefaultParameterDescriptor(Map<String,?> properties,
Class<T> valueClass,
Range<?> valueDomain,
T[] validValues,
T defaultValue,
boolean required)
Deprecated.
Replaced by the constructor with explicit minimum and maximum number of occurrences.
|
DefaultParameterDescriptor(Map<String,?> properties,
int minimumOccurs,
int maximumOccurs,
Class<T> valueClass,
Range<?> valueDomain,
T[] validValues,
T defaultValue)
Constructs a descriptor from the given properties.
|
Modifier and Type | Method and 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 new
Range object initialized with the given values. |
Modifier and Type | Method and 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 always
Range . |
SortedSet<Range<E>> |
RangeSet.headSet(Range<E> upper)
Returns a view of the portion of this sorted set whose elements are
strictly less than
upper . |
SortedSet<Range<E>> |
RangeSet.intersect(Range<E> subRange)
Returns a view of the portion of this range set which is the intersection of
this
RangeSet with 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
from
lower , inclusive, to upper , 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 to
lower . |
Modifier and Type | Method and Description |
---|---|
boolean |
RangeSet.add(Range<E> range)
Adds a range to this set.
|
boolean |
RangeSet.contains(Range<E> range,
boolean exact)
Returns
true if 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 than
upper . |
SortedSet<Range<E>> |
RangeSet.intersect(Range<E> subRange)
Returns a view of the portion of this range set which is the intersection of
this
RangeSet with 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
from
lower , inclusive, to upper , exclusive. |
SortedSet<Range<E>> |
RangeSet.subSet(Range<E> lower,
Range<E> upper)
Returns a view of the portion of this sorted set whose elements range
from
lower , inclusive, to upper , 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 to
lower . |
Copyright © 2010–2015 The Apache Software Foundation. All rights reserved.