|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wamblee.general.ValueHolder<T>
public class ValueHolder<T>
Object that holds a value of some type. This can be used where a mutable final value would be preferred.
| Constructor Summary | |
|---|---|
ValueHolder()
Constructs with null value. |
|
ValueHolder(T aValue)
Constructs with given value. |
|
| Method Summary | |
|---|---|
T |
getValue()
|
void |
setValue(T aValue)
Set the value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ValueHolder()
public ValueHolder(T aValue)
aValue - Value.| Method Detail |
|---|
public T getValue()
public void setValue(T aValue)
aValue - New value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||