Class ResizableStorageArray
java.lang.Object
dev.engine_room.flywheel.backend.engine.indirect.ResizableStorageArray
A buffer that is aware of its content's stride with some control over how it grows.
-
Constructor Summary
ConstructorsConstructorDescriptionResizableStorageArray(long stride) ResizableStorageArray(long stride, double growthFactor) -
Method Summary
Modifier and TypeMethodDescriptionlonglongcapacity()voiddelete()voidensureCapacity(long capacity) inthandle()longstride()
-
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()
-