|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmaspack.util.ObjectHolder
public class ObjectHolder
Wrapper class which ``holds'' an Object reference, enabling methods to return Object references through arguments.
Field Summary | |
---|---|
java.lang.Object |
value
Value of the Object reference, set and examined by the application as needed. |
Constructor Summary | |
---|---|
ObjectHolder()
Constructs a new ObjectHolder with an initial value of
null . |
|
ObjectHolder(java.lang.Object o)
Constructs a new ObjectHolder with a specific initial
value. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.lang.Object value
Constructor Detail |
---|
public ObjectHolder()
ObjectHolder
with an initial value of
null
.
public ObjectHolder(java.lang.Object o)
ObjectHolder
with a specific initial
value.
o
- Initial Object reference.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |