Class IntStack


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

      Constructors 
      Constructor Description
      IntStack()  
      IntStack​(int capacity)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int capacity()  
      int peek()  
      int pop()  
      void push​(int i)  
      int size()  
      • Methods inherited from class java.lang.Object

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

      • IntStack

        public IntStack()
      • IntStack

        public IntStack​(int capacity)
    • Method Detail

      • pop

        public final int pop()
      • push

        public final void push​(int i)
      • peek

        public final int peek()
      • size

        public final int size()
      • capacity

        public final int capacity()