ThreadLocal全部方法和内部类。

答案解析

主要方法有set、get、remove、initialValue。内部类有ThreadLocalMap,存储每个线程的变量副本,保证线程隔离。