edu.buffalo.fs7.qsymbol2
Class DoubleRange
java.lang.Object
|
+--edu.buffalo.fs7.qsymbol2.DoubleRange
- public class DoubleRange
- extends java.lang.Object
simple class providing a range of double numbers. This class is used by the Chart
class.
- See Also:
IntRange,
Chart
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lowerBound
protected double lowerBound
upperBound
protected double upperBound
DoubleRange
public DoubleRange()
DoubleRange
public DoubleRange(double lowerBound,
double upperBound)
- creates a range object with the specified range.
DoubleRange
public DoubleRange(DoubleRange range)
- clones a range object
getLowerBound
public double getLowerBound()
- returns the lower bound
getUpperBound
public double getUpperBound()
- returns the upper bound
setLowerBound
public void setLowerBound(double lowerBound)
setUpperBound
public void setUpperBound(double upperBound)
setRange
public void setRange(double lowerBound,
double upperBound)
getWidth
public double getWidth()