public class NullRef<T> extends Ref<T>
Null key and value.
Constructor and Description |
---|
NullRef() |
Modifier and Type | Method and Description |
---|---|
T |
get()
Obtain the entity value associated with the key.
|
T |
getValue()
Nearly identical to get() but conforms to JavaBean conventions and returns null instead of
throwing IllegalStateException if uninitialized.
|
Key<T> |
key() |
void |
set(Result<T> result)
Explicitly sets (or resets) the value of this Ref.
|
public T get()
Ref
public T getValue()
Ref