org.jnetpcap.util
Class JThreadLocal<T>

java.lang.Object
  extended by java.lang.ThreadLocal<T>
      extended by org.jnetpcap.util.JThreadLocal<T>
Type Parameters:
T - the generic type

public class JThreadLocal<T>
extends java.lang.ThreadLocal<T>

The Class JThreadLocal.

Author:
Mark Bednarczyk, Sly Technologies, Inc.

Constructor Summary
JThreadLocal()
          Instantiates a new j thread local.
JThreadLocal(java.lang.Class<T> c)
          Instantiates a new j thread local.
 
Method Summary
protected  T initialValue()
          Initial value.
 
Methods inherited from class java.lang.ThreadLocal
get, remove, set
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JThreadLocal

public JThreadLocal()
Instantiates a new j thread local.


JThreadLocal

public JThreadLocal(java.lang.Class<T> c)
Instantiates a new j thread local.

Parameters:
c - the c
Method Detail

initialValue

protected T initialValue()
Initial value.

Overrides:
initialValue in class java.lang.ThreadLocal<T>
Returns:
the t
See Also:
ThreadLocal.initialValue()