public class Reference<T>
extends java.lang.Object
| Constructor and Description |
|---|
Reference()
Initialize.
|
Reference(T value)
Initialize.
|
| Modifier and Type | Method and Description |
|---|---|
T |
get()
Returns the value.
|
boolean |
isNotNull()
Returns the value whether not null.
|
boolean |
isNull()
Returns the value whether is null.
|
void |
set(T value)
Set the value.
|
java.lang.String |
toString() |
public Reference(T value)
value - valuepublic Reference()
public T get()
public void set(T value)
value - valuepublic boolean isNull()
public boolean isNotNull()
public java.lang.String toString()
toString in class java.lang.Object