|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--sub_arctic.input.int_holder
Simple object to encapsulate an integer. This class is used simulate full pass-by-reference when needed (i.e., to allow integer parameters to be modified and returned by a method).
Field Summary | |
int |
value
The value we encapsulate. |
Constructor Summary | |
int_holder()
Constructor that initializes to 0. |
|
int_holder(int v)
Constructor with explicit initialization. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public int value
Constructor Detail |
public int_holder(int v)
public int_holder()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |