# Uses of Class
org.apache.sis.measure.Range

Packages that use Range
Package
Description
org.apache.sis.geometry
Basic geometric objects (envelopes and direct positions).
org.apache.sis.measure
Units of measurements, values related to measurement (like angles and ranges) and their formatters.
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.storage
Data store base types for retrieving and saving geospatial data in various storage formats.
org.apache.sis.util.collection
Addition to the collection framework.

- ## Uses of Range in org.apache.sis.geometry

  Methods in org.apache.sis.geometry that return types with arguments of type Range
  Modifier and Type
  Method
  Description
  `Optional<Range<Instant>>`
  AbstractEnvelope.`getTimeRange()`
  Returns the time range of the first dimension associated to a temporal CRS.
  `static Optional<Range<Instant>>`
  Envelopes.`toTimeRange(Envelope envelope)`
  Returns the time range of the first dimension associated to a temporal CRS.

- ## Uses of Range in org.apache.sis.measure

  Subclasses of Range in org.apache.sis.measure
  Modifier and Type
  Class
  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.
  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 specified `Range` as a `NumberRange` object.
  `boolean`
  MeasurementRange.`contains(Range<? extends E> range)`
  Returns `true` if the supplied range is fully contained within this range.
  `boolean`
  Range.`contains(Range<? extends E> range)`
  Returns `true` if 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.
  `boolean`
  MeasurementRange.`intersects(Range<? extends E> range)`
  Returns `true` if this range intersects the given range.
  `boolean`
  Range.`intersects(Range<? extends E> range)`
  Returns `true` if 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
  Modifier
  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.metadata.iso.extent

  Methods in org.apache.sis.metadata.iso.extent that return Range
  Modifier and Type
  Method
  Description
  `static Range<Date>`
  Extents.`getTimeRange(Extent extent)`
  Returns the union of all time ranges found in the given extent, or `null` if none.

- ## Uses of Range in org.apache.sis.parameter

  Methods in org.apache.sis.parameter that return Range
  Modifier and Type
  Method
  Description
  `final 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.
  Methods in org.apache.sis.parameter with parameters of type Range
  Modifier and Type
  Method
  Description
  `<T extends Comparable<? super T>>
  ParameterDescriptor<T>`
  ParameterBuilder.`createBounded(Range<T> valueDomain, T defaultValue)`
  Creates a descriptor for values in the domain represented by the given `Range` object.
  Constructors in org.apache.sis.parameter with parameters of type Range
  Modifier
  Constructor
  Description
  ``
  `DefaultParameterDescriptor(Map<String,?> properties, int minimumOccurs, int maximumOccurs, Class<T> valueClass, Range<?> valueDomain, T[] validValues, T defaultValue)`
  Constructs a descriptor from the given properties.

- ## Uses of Range in org.apache.sis.storage

  Methods in org.apache.sis.storage that return Range
  Modifier and Type
  Method
  Description
  `Range<Version>`
  DataStoreProvider.`getSupportedVersions()`
  Returns the range of versions supported by the data store, or `null` if unspecified.

- ## 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 new `Range` object 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.
  `final 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`.
  Methods in org.apache.sis.util.collection with parameters of type Range
  Modifier and Type
  Method
  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.`tailSet(Range<E> lower)`
  Returns a view of the portion of this sorted set whose elements are greater than or equal to `lower`.