de.schlichtherle.util
Class ThreadLocalLong
java.lang.Object
java.lang.ThreadLocal
de.schlichtherle.util.ThreadLocalLong
public class ThreadLocalLong
- extends ThreadLocal
A long which's value is local to each thread.
Its initial value is 0.
- Since:
- TrueZIP 6.2
- Version:
- $Id: ThreadLocalLong.java,v 1.4 2010/08/20 13:09:49 christian_schlichtherle Exp $
- Author:
- Christian Schlichtherle
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThreadLocalLong
public ThreadLocalLong()
getValue
public final long getValue()
setValue
public final void setValue(long value)
initialValue
protected final Object initialValue()
- Overrides:
initialValue in class ThreadLocal
Copyright © 2005-2010 Schlichtherle IT Services. All Rights Reserved.