Class IntAVLTree.IntStack

  • Enclosing class:
    IntAVLTree

    private static class IntAVLTree.IntStack
    extends java.lang.Object
    A stack of int values.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int size  
      private int[] stack  
    • Constructor Summary

      Constructors 
      Constructor Description
      IntStack()  
    • Method Summary

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

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

      • stack

        private int[] stack
      • size

        private int size
    • Constructor Detail

      • IntStack

        IntStack()
    • Method Detail

      • size

        int size()
      • pop

        int pop()
      • push

        void push​(int v)