01: package java.lang;
02:
03: import java.util.Collections;
04: import java.util.Map;
05: import java.util.WeakHashMap;
06:
07: public class ThreadLocal {
08: static final Object NULL = new Object();
09: Object value;
10: final Map valueMap = Collections.synchronizedMap(new WeakHashMap());
11:
12: public ThreadLocal() {
13: }
14:
15: protected Object initialValue() {
16: }
17:
18: public Object get() {
19: }
20:
21: public void set(Object value) {
22: }
23: }
|