|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.limegroup.gnutella.util.IntWrapper
Simple int wrapper class that lets you set the value at any time. Useful for changing the value of objects stored in Maps or Lists, without having to access the object every time. Just keep the handle to this instance and set/get it.
Constructor Summary | |
IntWrapper(int x)
|
Method Summary | |
int |
addInt(int x)
|
int |
getInt()
|
void |
setInt(int x)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public IntWrapper(int x)
Method Detail |
public int getInt()
public void setInt(int x)
public int addInt(int x)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |