All Packages This Package Class Hierarchy Class Search Index
Class kh.math.DoubleRange
java.lang.Object
|
+----kh.math.DoubleRange
public class DoubleRange
extends java.lang.Object
{
// Fields 2
public double lower;
public double upper;
// Constructors 1
public DoubleRange(double, double);
// Methods 2
public DoubleRange getIntersection(DoubleRange);
public boolean inBounds(double);
}
This class describes a range of two doubles and supports access to
the lower and upper values and range checking.
- Returned By:
- AnalogDigitalDial.getAdvisoryRanges(), AnalogDigitalDial.getWarningRanges(), Dial.getAdvisoryRanges(), Dial.getWarningRanges(), MultiDial.getAdvisoryRanges(), MultiDial.getWarningRanges(), DoubleRange.getIntersection(), WarningValueReceiver.getAdvisoryRanges(), WarningValueReceiver.getWarningRanges()
public double lower
public double upper
public DoubleRange(double _lower,
double _upper)
public DoubleRange getIntersection(DoubleRange other)
Returns the common subrange shared by both segments - or null
for no common range
public boolean inBounds(double x)
All Packages This Package Class Hierarchy Class Search Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7