Interface ThreadLocalStack.ThreadLocalStackReference<T>

Enclosing class:
ThreadLocalStack<T>

public static interface ThreadLocalStack.ThreadLocalStackReference<T>
Reference to a thread-local stack. Each client that calls ThreadLocalStack.push(Object) is required to call pop() to clean up the value (e.g. in a finally block).
  • Method Summary

    Modifier and Type
    Method
    Description
    pop()
     
  • Method Details

    • pop

      T pop()