Package | Description |
---|---|
org.apache.sis.measure |
Modifier and Type | Class and Description |
---|---|
class |
MeasurementRange<E extends Number & Comparable<? super E>>
A range of numbers associated with a unit of measurement.
|
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. |
<N extends Number & Comparable<? super N>> |
NumberRange.castTo(Class<N> type)
Casts this range to the specified type.
|
static NumberRange<Byte> |
NumberRange.create(byte minValue,
boolean isMinIncluded,
byte maxValue,
boolean isMaxIncluded)
Constructs a range of
byte values. |
static NumberRange<Double> |
NumberRange.create(double minValue,
boolean isMinIncluded,
double maxValue,
boolean isMaxIncluded)
Constructs a range of
double values. |
static NumberRange<Float> |
NumberRange.create(float minValue,
boolean isMinIncluded,
float maxValue,
boolean isMaxIncluded)
Constructs a range of
float values. |
static NumberRange<Integer> |
NumberRange.create(int minValue,
boolean isMinIncluded,
int maxValue,
boolean isMaxIncluded)
Constructs a range of
int values. |
static NumberRange<Long> |
NumberRange.create(long minValue,
boolean isMinIncluded,
long maxValue,
boolean isMaxIncluded)
Constructs a range of
long values. |
static NumberRange<Short> |
NumberRange.create(short minValue,
boolean isMinIncluded,
short maxValue,
boolean isMaxIncluded)
Constructs a range of
short values. |
static NumberRange<?> |
NumberRange.createBestFit(Number minValue,
boolean isMinIncluded,
Number maxValue,
boolean isMaxIncluded)
Constructs a range using the smallest type of
Number that can hold the
given values. |
NumberRange<?> |
NumberRange.intersectAny(NumberRange<?> range)
Returns the union of this range with the given range.
|
NumberRange<?>[] |
NumberRange.subtractAny(NumberRange<?> range)
Returns the range of values that are in this range but not in the given range.
|
NumberRange<?> |
NumberRange.unionAny(NumberRange<?> range)
Returns the union of this range with the given range.
|
Modifier and Type | Method and Description |
---|---|
boolean |
NumberRange.containsAny(NumberRange<?> range)
Returns
true if the supplied range is fully contained within this range. |
NumberRange<?> |
NumberRange.intersectAny(NumberRange<?> range)
Returns the union of this range with the given range.
|
boolean |
NumberRange.intersectsAny(NumberRange<?> range)
Returns
true if the supplied range is fully contained within this range. |
NumberRange<?>[] |
NumberRange.subtractAny(NumberRange<?> range)
Returns the range of values that are in this range but not in the given range.
|
NumberRange<?> |
NumberRange.unionAny(NumberRange<?> range)
Returns the union of this range with the given range.
|
Copyright © 2010–2013 The Apache Software Foundation. All rights reserved.