|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jgroups.util.ImmutableReference<T>
public class ImmutableReference<T>
Simple class that holds an immutable reference to another object (or to
null).
| Constructor Summary | |
|---|---|
ImmutableReference(T referent)
Create a new ImmutableReference. |
|
| Method Summary | |
|---|---|
T |
get()
Gets the wrapped object, if there is one. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImmutableReference(T referent)
referent - the object to refer to, or null| Method Detail |
|---|
public T get()
null if
null was passed to the constructor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||