public class MappedRange
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
MappedRange(double low,
double high,
double value)
Construct the range mapping.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getHigh() |
double |
getLow() |
double |
getValue() |
boolean |
inRange(double d)
Determine if the specified value is in the range.
|
public MappedRange(double low,
double high,
double value)
low - The low value for the range.high - The high value for the range.value - The value that this range represents.public double getHigh()
public double getLow()
public double getValue()
public boolean inRange(double d)
d - The value to check.