|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--mascoptDev.utils.MutableInteger
Constructor Summary | |
MutableInteger(int value)
Constructor |
|
MutableInteger(String stringValue)
Constructor |
Method Summary | |
void |
add(int value)
Add an int to this MuatbleInteger |
void |
add(Integer value)
Add an Integer to this MuatbleInteger |
void |
add(MutableInteger value)
Add a MutableInteger to this MutableInteger |
int |
intValue()
Returns the value of this MutableInteger as int |
long |
longValue()
Returns the value of this MutableInteger as long |
void |
minus(int value)
Substract an int to this MutableInteger |
void |
minus(Integer value)
Substract an Integer to this MutableInteger |
void |
minus(MutableInteger value)
Substract an MutableInteger to this MutableInteger |
void |
setIntValue(int value)
Changes the value of this MutableInteger |
void |
setIntValue(Integer value)
Changes the value of this MutableInteger |
void |
setIntValue(MutableInteger value)
Changes the value of this MutableInteger |
short |
shortValue()
Returns the value of this MutableInteger as short |
String |
toString()
Returns a String object representing this MutableInteger's value. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MutableInteger(int value)
value
- The value of the integerpublic MutableInteger(String stringValue)
Method Detail |
public int intValue()
public void setIntValue(int value)
value
- The new value of the MutableIntegerpublic void setIntValue(Integer value)
value
- The new value of the MutableIntegerpublic void setIntValue(MutableInteger value)
value
- The new value of the MutableIntegerpublic void add(int value)
value
- The int to addpublic void add(Integer value)
value
- The Integer to addpublic void add(MutableInteger value)
value
- The MutableInteger to addpublic void minus(int value)
value
- public void minus(Integer value)
value
- public void minus(MutableInteger value)
value
- public long longValue()
public short shortValue()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |