|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.sdsc.mbt.util.IntRange
This class implements a container for a range of two int values.
Constructor Summary | |
IntRange()
Constructor creating an empty Range object |
|
IntRange(int a,
int b)
Constructor initialized with two values |
Method Summary | |
int |
getEnd()
Returns the end value. |
int |
getStart()
Returns the start value. |
java.lang.Object |
getUnit()
Returns a unit that indicates what type of range this is (an Integer) |
void |
setEnd(int a)
Sets end int value. |
void |
setStart(int a)
Sets start int value. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public IntRange(int a, int b)
a
- start int valueb
- end int valuepublic IntRange()
Method Detail |
public void setStart(int a)
public void setEnd(int a)
public int getStart()
public int getEnd()
public java.lang.Object getUnit()
getUnit
in interface Range
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |