FileDocCategorySizeDatePackage
WeakThreadLocal.javaAPI DocJBoss 4.2.11538Fri Jul 13 20:53:44 BST 2007org.jboss.lang.ref

WeakThreadLocal

public class WeakThreadLocal extends Object
author
carlo

Fields Summary
private ThreadLocal
delegate
Constructors Summary
Methods Summary
public Tget()


     
   
      WeakReference<T> ref = delegate.get();
      if(ref == null)
         return null;
      return ref.get();
   
public voidremove()

      delegate.remove();
   
public voidset(T value)

      delegate.set(new WeakReference<T>(value));