Class Stack


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

      Constructors 
      Constructor Description
      Stack​(int extendSize)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void clear()  
      int getSize()  
      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

      • Stack

        public Stack​(int extendSize)
    • Method Detail

      • push

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

        public java.lang.Object pop()
      • getSize

        public int getSize()
      • clear

        public void clear()