Class ResizableStorageArray

java.lang.Object
dev.engine_room.flywheel.backend.engine.indirect.ResizableStorageArray

public class ResizableStorageArray extends Object
A buffer that is aware of its content's stride with some control over how it grows.
  • Constructor Details

    • ResizableStorageArray

      public ResizableStorageArray(long stride)
    • ResizableStorageArray

      public ResizableStorageArray(long stride, double growthFactor)
  • Method Details

    • handle

      public int handle()
    • stride

      public long stride()
    • capacity

      public long capacity()
    • byteCapacity

      public long byteCapacity()
    • ensureCapacity

      public void ensureCapacity(long capacity)
    • delete

      public void delete()