Package org.jboss.resteasy.util

## Class ThreadLocalStack<T>

- java.lang.Object
- - org.jboss.resteasy.util.ThreadLocalStack<T>

-     public class ThreadLocalStack<T>
      extends Object

  Comment
  Version:
    $Revision$
  Author:
    Bill Burke

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ThreadLocalStack()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `clear()` |
    `T` | `get()` |
    `T` | `get​(int i)` |
    `boolean` | `isEmpty()` |
    `T` | `pop()` |
    `void` | `push​(T obj)` |
    `void` | `setLast​(T obj)` |
    `int` | `size()` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ThreadLocalStack

          public ThreadLocalStack()

  - ### Method Detail

    - #### push

          public void push​(T obj)

    - #### get

          public T get()

    - #### pop

          public T pop()

    - #### setLast

          public void setLast​(T obj)

    - #### isEmpty

          public boolean isEmpty()

    - #### size

          public int size()

    - #### clear

          public void clear()

    - #### get

          public T get​(int i)