Class AdaptivePoolingAllocator.IntStack

java.lang.Object
io.netty.buffer.AdaptivePoolingAllocator.IntStack
Enclosing class:
AdaptivePoolingAllocator

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

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

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

    Modifier and Type
    Method
    Description
    boolean
     
    int
    pop()
     
    void
    push(int value)
     
    int
     

    Methods inherited from class java.lang.Object

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

    • stack

      private final int[] stack
    • top

      private int top
  • Constructor Details

    • IntStack

      IntStack(int[] initialValues)
  • Method Details

    • isEmpty

      public boolean isEmpty()
    • pop

      public int pop()
    • push

      public void push(int value)
    • size

      public int size()