org.lightwolf
Class FlowLocal<T>
java.lang.Object
org.lightwolf.FlowLocal<T>
public class FlowLocal<T>
- extends Object
An object that stores data associated with a Flow
. This class is
similar to Java's ThreadLocal
, but it works for a flow, not a thread.
- Author:
- Fernando Colombo
FlowLocal
public FlowLocal()
hashCode
public final int hashCode()
- Overrides:
hashCode
in class Object
equals
public final boolean equals(Object obj)
- Overrides:
equals
in class Object
get
public T get()
set
public T set(T value)
remove
public T remove()
initialValue
protected T initialValue()