public class UnitRangeImpl
extends edu.iris.Fissures.UnitRange
| Modifier | Constructor and Description |
|---|---|
protected |
UnitRangeImpl() |
|
UnitRangeImpl(double min,
double max,
edu.iris.Fissures.Unit the_units) |
| Modifier and Type | Method and Description |
|---|---|
UnitRangeImpl |
convertTo(UnitImpl newUnit)
converts this UnitRange into the given units.
|
static java.io.Serializable |
createEmpty() |
boolean |
equals(java.lang.Object o) |
double |
getMaxValue() |
double |
getMinValue() |
UnitImpl |
getUnit() |
int |
hashCode() |
java.lang.String |
toString() |
protected UnitRangeImpl()
public UnitRangeImpl(double min,
double max,
edu.iris.Fissures.Unit the_units)
public static java.io.Serializable createEmpty()
public double getMinValue()
public double getMaxValue()
public UnitImpl getUnit()
public UnitRangeImpl convertTo(UnitImpl newUnit)
java.lang.IllegalArgumentException - if the given units are
not compatible.public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object