|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.shotoku.cache.ValueChange<T>
public class ValueChange<T>
A class which represents either a change of value, and holds the new value,
or no value change. Instances can be obtained using the
noChange() and changeTo(Object) methods.
| Method Summary | ||
|---|---|---|
static
|
changeTo(T newValue)
|
|
T |
getValue()
|
|
boolean |
hasValue()
|
|
static
|
noChange()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static <T> ValueChange<T> noChange()
public static <T> ValueChange<T> changeTo(T newValue)
public T getValue()
public boolean hasValue()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||