Class AdaptivePoolingAllocator.IntStack

  • Enclosing class:
    AdaptivePoolingAllocator

    private static final class AdaptivePoolingAllocator.IntStack
    extends java.lang.Object
    • Field Summary

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

      Constructors 
      Constructor Description
      IntStack​(int[] initialValues)  
    • Method Summary

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

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

      • stack

        private final int[] stack
      • top

        private int top
    • Constructor Detail

      • IntStack

        IntStack​(int[] initialValues)
    • Method Detail

      • isEmpty

        public boolean isEmpty()
      • pop

        public int pop()
      • push

        public void push​(int value)
      • size

        public int size()