Class IntAVLTree.NodeAllocator

java.lang.Object
com.tdunning.math.stats.IntAVLTree.NodeAllocator
All Implemented Interfaces:
Serializable
Enclosing class:
IntAVLTree

private static class IntAVLTree.NodeAllocator extends Object implements Serializable
  • Field Details

    • nextNode

      private int nextNode
    • releasedNodes

      private final IntAVLTree.IntStack releasedNodes
  • Constructor Details

    • NodeAllocator

      NodeAllocator()
  • Method Details

    • newNode

      int newNode()
    • release

      void release(int node)
    • size

      int size()