Uses of Class
org.apache.sis.measure.Range
Packages that use Range
Package
Description
Functions that associates positions within a bounded space (its domain) to values (its range).
Basic geometric objects (envelopes and direct positions).
A set of helper classes for the SIS implementation.
Reads and writes data in GPS Exchange Format (GPX).
Well Known Text (WKT) parsing and formatting.
Units of measurements, values related to measurement (like angles and ranges) and their formatters.
Root package for various metadata implementations.
Information about spatial, vertical, and temporal extent.
Descriptions and values of parameters used by a coordinate operation or a process.
Data store base types for retrieving and saving geospatial data
in various storage formats.
Addition to the collection framework.
-
Uses of Range in org.apache.sis.coverage
Subclasses of Range in org.apache.sis.coverageModifier and TypeClassDescription(package private) final class
Range of real values computed from the range of the sample values.Methods in org.apache.sis.coverage that return RangeModifier and TypeMethodDescriptionReturns the union of this range with the given range.Methods in org.apache.sis.coverage with parameters of type Range -
Uses of Range in org.apache.sis.geometry
Methods in org.apache.sis.geometry that return types with arguments of type RangeModifier and TypeMethodDescriptionAbstractEnvelope.getTimeRange()
Returns the time range of the first dimension associated to a temporal CRS.Envelopes.toTimeRange
(org.opengis.geometry.Envelope envelope) Returns the time range of the first dimension associated to a temporal CRS. -
Uses of Range in org.apache.sis.internal.referencing
Subclasses of Range in org.apache.sis.internal.referencingModifier and TypeClassDescriptionfinal class
The domain of values of an EPSG parameter which accepts different units.Methods in org.apache.sis.internal.referencing that return RangeModifier and TypeMethodDescriptionTemporalAccessor.getTimeRange
(org.opengis.geometry.Envelope envelope) Returns the temporal range of given envelope. -
Uses of Range in org.apache.sis.internal.storage.gpx
Fields in org.apache.sis.internal.storage.gpx declared as RangeModifier and TypeFieldDescriptionStoreProvider.VERSIONS
The range of versions returned byStoreProvider.getSupportedVersions()
.Methods in org.apache.sis.internal.storage.gpx that return RangeModifier and TypeMethodDescriptionStoreProvider.getSupportedVersions()
Returns the range of versions supported by the GPX data store. -
Uses of Range in org.apache.sis.io.wkt
Methods in org.apache.sis.io.wkt with parameters of type RangeModifier and TypeMethodDescriptionprivate void
Formatter.appendTemporalExtent
(Range<Date> range) Appends the given temporal extent, if non-null. -
Uses of Range in org.apache.sis.measure
Subclasses of Range in org.apache.sis.measureModifier and TypeClassDescriptionclass
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.Methods in org.apache.sis.measure that return RangeModifier and TypeMethodDescriptionprivate static Range
<?> Casts the given object to aRange
, or throws anIllegalArgumentException
if the given object is not aRange
instance.If the given range is an instance ofMeasurementRange
, converts that range to the unit of this range.Creates a new range using the same element type and the same unit than this range.Creates a new range using the same element type than this range.Creates a new range using the same element type than this range.Returns the intersection between this range and the given range.Returns the intersection between this range and the given range.MeasurementRange.newArray
(int length) Returns an initially empty array of the given length.NumberRange.newArray
(int length) Returns an initially empty array of the given length.Range.newArray
(int length) Returns an initially empty array ofgetClass()
type and of the given length.Range
<?> 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.Returns the range of values that are in this range but not in the given range.Returns the range of values that are in this range but not in the given range.private Range
<?> RangeFormat.tryParse
(String source, ParsePosition pos) Tries to parse the given text.Returns the union of this range with the given range.Returns the union of this range with the given range.Methods in org.apache.sis.measure with parameters of type RangeModifier and TypeMethodDescriptionstatic <N extends Number & Comparable<? super N>>
NumberRange<N> NumberRange.castOrCopy
(Range<N> range) Returns the specifiedRange
as aNumberRange
object.boolean
Returnstrue
if the supplied range is fully contained within this range.boolean
Returnstrue
if the supplied range is fully contained within this range.If the given range is an instance ofMeasurementRange
, converts that range to the unit of this range.private void
RangeFormat.format
(Range<?> range, StringBuffer toAppendTo, FieldPosition pos, FormattedCharacterIterator characterIterator) Implementation of the format methods.Returns the intersection between this range and the given range.Returns the intersection between this range and the given range.boolean
MeasurementRange.intersects
(Range<? extends E> range) Returnstrue
if this range intersects the given range.boolean
Range.intersects
(Range<? extends E> range) Returnstrue
if this range intersects the given range.Returns the range of values that are in this range but not in the given range.Returns the range of values that are in this range but not in the given range.Returns the union of this range with the given range.Returns the union of this range with the given range.Constructors in org.apache.sis.measure with parameters of type RangeModifierConstructorDescriptionprivate
MeasurementRange
(Class<E> type, Range<? extends Number> range, javax.measure.Unit<?> unit) Constructs a range with the same values than the specified range, casted to the specified type.MeasurementRange
(Range<E> range, javax.measure.Unit<?> unit) Constructs a range with the same values than the specified range and the given unit.(package private)
NumberRange
(Class<E> type, Range<? extends Number> range) Constructs a range with the same values than the specified range, casted to the specified type.NumberRange
(Range<E> range) Constructs a range with the same type and the same values than the specified range.Constructs a range with the same type and the same values than the specified range. -
Uses of Range in org.apache.sis.metadata
Subclasses of Range in org.apache.sis.metadataModifier and TypeClassDescription(package private) final class
DomainRange<E extends Number & Comparable<? super E>>
The range of values that a metadata property can take, representable as anInternationalString
in order to make possible to return this range from thePropertyInformation.getDomainValue()
method. -
Uses of Range in org.apache.sis.metadata.iso.extent
Methods in org.apache.sis.metadata.iso.extent that return RangeModifier and TypeMethodDescriptionExtents.getTimeRange
(org.opengis.metadata.extent.Extent extent) Returns the union of all time ranges found in the given extent, ornull
if none. -
Uses of Range in org.apache.sis.parameter
Fields in org.apache.sis.parameter declared as RangeModifier and TypeFieldDescriptionprivate Range
<?> DefaultParameterDescriptor.valueDomain
The minimum and maximum parameter value with their unit of measurement, ornull
if none.Methods in org.apache.sis.parameter that return RangeModifier and TypeMethodDescriptionfinal Range
<?> DefaultParameterDescriptor.getValueDomain()
Returns the domain of values with their unit of measurement (if any), ornull
if none.static Range
<?> Parameters.getValueDomain
(org.opengis.parameter.ParameterDescriptor<?> descriptor) Returns the domain of valid values defined by the given descriptor, ornull
if none.Methods in org.apache.sis.parameter with parameters of type RangeModifier and TypeMethodDescriptionprivate <T> org.opengis.parameter.ParameterDescriptor
<T> Invoked by allcreateXXX(…)
methods for creating the descriptor from the properties currently set in this builder.<T extends Comparable<? super T>>
org.opengis.parameter.ParameterDescriptor<T> ParameterBuilder.createBounded
(Range<T> valueDomain, T defaultValue) Creates a descriptor for values in the domain represented by the givenRange
object.(package private) static <T> Verifier
Verifier.ensureValidValue
(Class<T> valueClass, Set<T> validValues, Range<?> valueDomain, Object convertedValue) Compares the given value against the given descriptor properties.private static javax.measure.Unit
<?> Verifier.getCompatibleUnit
(Range<?> valueDomain, javax.measure.Unit<?> unit) If the given domain of values accepts units of incompatible dimensions, return the unit which is compatible with the given units.(package private) final int
ParameterTableRow.setValueDomain
(Range<?> range, Format format, StringBuffer buffer) Sets the value domain to the string representation of the given range.Constructors in org.apache.sis.parameter with parameters of type Range -
Uses of Range in org.apache.sis.storage
Methods in org.apache.sis.storage that return RangeModifier and TypeMethodDescriptionDataStoreProvider.getSupportedVersions()
Returns the range of versions supported by the data store, ornull
if unspecified. -
Uses of Range in org.apache.sis.util.collection
Fields in org.apache.sis.util.collection declared as RangeModifier and TypeFieldDescriptionRangeSet.SubIter.subRange
A copy of theRangeSet.SubSet.subRange
field value at the time of iterator creation.RangeSet.SubSet.subRange
The minimal and maximal values of this subset,Methods in org.apache.sis.util.collection that return RangeModifier and TypeMethodDescriptionRangeSet.first()
Returns the first (lowest) range currently in this sorted set.RangeSet.SubSet.first()
Returns the first range in this subset, intersected with the range given to the constructor.RangeSet.getRange
(int index) Returns the range at the given array index.RangeSet.last()
Returns the last (highest) range currently in this sorted set.RangeSet.SubSet.last()
Returns the last range in this subset, intersected with the range given to the constructor.Returns a newRange
object initialized with the given values.RangeSet.Iter.next()
Returns the next element in the iteration.RangeSet.SubIter.next()
Returns the next element in the iteration.Methods in org.apache.sis.util.collection that return types with arguments of type RangeModifier and TypeMethodDescriptionComparator
<Range<E>> RangeSet.comparator()
Returns the comparator associated with this sorted set.Comparator
<Range<E>> RangeSet.SubSet.comparator()
Returns the comparator, which is the same than the enclosing class.RangeSet.getElementType()
Returns the type of elements in this collection, which is alwaysRange
.Returns a view of the portion of this sorted set whose elements are strictly less thanupper
.Delegates subset creation to the enclosing class.Returns a view of the portion of this range set which is the intersection of thisRangeSet
with the given range.RangeSet.iterator()
Returns an iterator over the elements in this set of ranges.RangeSet.SubSet.iterator()
Returns an iterator over the elements in this subset.Returns a view of the portion of this sorted set whose elements range fromlower
, inclusive, toupper
, exclusive.Delegates subset creation to the enclosing class.Delegates subset creation to the enclosing class.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 RangeModifier and TypeMethodDescriptionboolean
Adds a range to this set.boolean
Adds a new range in the enclosingRangeSet
, and updates this subset in order to contain that range.int
Compares the given range instance.boolean
Returnstrue
if this set contains the specified element.Returns a view of the portion of this sorted set whose elements are strictly less thanupper
.Delegates subset creation to the enclosing class.Returns a view of the portion of this range set which is the intersection of thisRangeSet
with the given range.Returns a view of the portion of this sorted set whose elements range fromlower
, inclusive, toupper
, exclusive.Delegates subset creation to the enclosing class.Delegates subset creation to the enclosing class.Returns a view of the portion of this sorted set whose elements are greater than or equal tolower
.Constructors in org.apache.sis.util.collection with parameters of type Range