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