Class Stack4


  • public class Stack4
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Stack4()  
    • Method Summary

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

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

      • Stack4

        public Stack4()
    • Method Detail

      • push

        public void push​(java.lang.Object obj)
      • peek

        public java.lang.Object peek()
      • pop

        public java.lang.Object pop()
      • isEmpty

        public boolean isEmpty()