com.sun.jimi.util
Class IntegerRange
java.lang.Object
|
+--com.sun.jimi.util.IntegerRange
- public class IntegerRange
- extends java.lang.Object
- implements Range
Provides an easy means of specifying a range of integers.
Constructor Summary |
IntegerRange(java.lang.Integer lowest,
java.lang.Integer greatest)
|
IntegerRange(int lowest,
int greatest)
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
IntegerRange
public IntegerRange(int lowest,
int greatest)
IntegerRange
public IntegerRange(java.lang.Integer lowest,
java.lang.Integer greatest)
getLeastValue
public java.lang.Object getLeastValue()
- Specified by:
- getLeastValue in interface Range
getGreatestValue
public java.lang.Object getGreatestValue()
- Specified by:
- getGreatestValue in interface Range
isContinuous
public boolean isContinuous()
- Specified by:
- isContinuous in interface Range
isInRange
public boolean isInRange(java.lang.Object testCase)
- Specified by:
- isInRange in interface Range
isInRange
public boolean isInRange(int testCase)
- Convenience method.