|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface IValueHolder<T>
A generic interface to a single value held by another object.
Method Summary
Tget()
Returns the current value (might be null).
booleanisNull()
Returns whether or not the underlying value is null.
booleanisPresent()
Returns whether or not the underlying value is not null.
voidset(T value)
Sets the current value.
Method Detail
get
T get()
set
void set(T value)
value - The new value (might be null).
isNull
boolean isNull()
isPresent
boolean isPresent()
Package
Class
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD