Interface Stack<T>

All Known Implementing Classes:
DequeStack

interface Stack<T>
Since:
1.1
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
     
    pop()
     
    void
    push(T t)
     
    int
     
  • Method Details

    • push

      void push(T t)
    • peek

      T peek()
    • pop

      T pop()
    • isEmpty

      boolean isEmpty()
    • size

      int size()