Package | Description |
---|---|
org.geotools.util |
Contains utilities and addition to the collection framework.
|
Modifier and Type | Method and Description |
---|---|
<N extends Number & Comparable<? super N>> |
MeasurementRange.castTo(Class<N> type)
Casts this range to the specified type.
|
MeasurementRange |
MeasurementRange.convertTo(Unit<?> targetUnits)
Converts this range to the specified units.
|
static MeasurementRange<Double> |
MeasurementRange.create(double minimum,
boolean isMinIncluded,
double maximum,
boolean isMaxIncluded,
Unit<?> units)
Constructs a range of
double values. |
static MeasurementRange<Double> |
MeasurementRange.create(double minimum,
double maximum,
Unit<?> units)
Constructs an inclusive range of
double values. |
static MeasurementRange<Float> |
MeasurementRange.create(float minimum,
boolean isMinIncluded,
float maximum,
boolean isMaxIncluded,
Unit<?> units)
Constructs a range of
float values. |
static MeasurementRange<Float> |
MeasurementRange.create(float minimum,
float maximum,
Unit<?> units)
Constructs an inclusive range of
float values. |
MeasurementRange |
MeasurementRange.intersect(Range range)
Returns the intersection of this range with the given range.
|
MeasurementRange[] |
MeasurementRange.subtract(Range range)
Returns the range of values that are in this range but not in the given range.
|
MeasurementRange |
MeasurementRange.union(Range range)
Returns the union of this range with the given range.
|
Constructor and Description |
---|
DateRange(MeasurementRange<?> range,
Date origin)
Creates a date range from the specified measurement range.
|
Copyright © 1996–2019 Geotools. All rights reserved.