Interface Stack<T>

  • All Known Implementing Classes:
    DoublyLinkedList

    public interface Stack<T>
    Author:
    Rohan Padhye
    • Method Detail

      • push

        void push​(T item)
      • peek

        T peek()
      • pop

        T pop()
      • isEmpty

        boolean isEmpty()
      • clear

        void clear()