fulmine.util.reference
Class Value<T>
java.lang.Object
fulmine.util.reference.Value<T>
public final class Value<T>
- extends Object
Provides a reference to a value. The reference is passed around and can
'point' to a new value via the set(Object)
method.
- Author:
- Ramon Servadei
Value
public Value()
Value
public Value(T value)
set
public T set(T value)
get
public T get()
toString
public String toString()
- Overrides:
toString
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
Copyright © 2007-2009. All Rights Reserved.