ix.util.context
Class TypedContextValue<T>
java.lang.Object
ix.util.context.ContextValue<T>
ix.util.context.TypedContextValue<T>
public class TypedContextValue<T>
- extends ContextValue<T>
An object that contains a single context-dependent value.
Field Summary |
protected java.lang.Class |
type
|
Method Summary |
void |
set(T new_value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
type
protected java.lang.Class type
TypedContextValue
public TypedContextValue(java.lang.Class type,
T value)
TypedContextValue
public TypedContextValue(ContextHolder holder,
java.lang.Class type,
T value)
set
public void set(T new_value)
- Overrides:
set
in class ContextValue<T>