Package | Description |
---|---|
org.apache.sis.measure |
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<E> |
MeasurementRange.convertTo(Unit<?> targetUnit)
Converts this range to the specified unit.
|
static MeasurementRange<Double> |
MeasurementRange.create(double minValue,
boolean isMinIncluded,
double maxValue,
boolean isMaxIncluded,
Unit<?> unit)
Constructs a range of
double values. |
static MeasurementRange<Float> |
MeasurementRange.create(float minValue,
boolean isMinIncluded,
float maxValue,
boolean isMaxIncluded,
Unit<?> unit)
Constructs a range of
float values. |
static MeasurementRange<?> |
MeasurementRange.createBestFit(Number minValue,
boolean isMinIncluded,
Number maxValue,
boolean isMaxIncluded,
Unit<?> unit)
Constructs a range using the smallest type of
Number that can hold the given values. |
Copyright © 2010–2013 The Apache Software Foundation. All rights reserved.