MCPcopy Create free account
hub / github.com/ReadyTalk/avian / set

Method set

classpath/java/lang/ThreadLocal.java:38–45  ·  view source on GitHub ↗
(T value)

Source from the content-addressed store, hash-verified

36 }
37
38 public void set(T value) {
39 Map<ThreadLocal, Object> map = Thread.currentThread().locals();
40 Object o = value;
41 if (o == null) {
42 o = Null;
43 }
44 map.put(this, o);
45 }
46}

Callers

nothing calls this directly

Calls 3

currentThreadMethod · 0.95
putMethod · 0.65
localsMethod · 0.45

Tested by

no test coverage detected