Class Stack<T>


  • public class Stack<T>
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Stack()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isEmpty()  
      T peek()  
      T pop()  
      void push​(T element)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Stack

        public Stack()
    • Method Detail

      • peek

        public T peek()
      • pop

        public T pop()
      • push

        public void push​(T element)
      • isEmpty

        public boolean isEmpty()