Class IntegerStack


  • public class IntegerStack
    extends Object
    • Constructor Detail

      • IntegerStack

        public IntegerStack​(int capacity)
    • Method Detail

      • push

        public void push​(int value)
      • pop

        public int pop()
      • peek

        public int peek()
      • isEmpty

        public boolean isEmpty()