public class ThreadLocalStack<T>
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private java.lang.ThreadLocal<java.util.ArrayList<T>> |
stack |
| Constructor and Description |
|---|
ThreadLocalStack() |
| Modifier and Type | Method and Description |
|---|---|
T |
get() |
java.util.List<T> |
getList() |
T |
pop() |
void |
push(T obj) |