public interface ArrayAllocator
BlockFlattener.
The arrays which are returned may have a size which exceeds the specified positionCount, and they are not
guaranteed to be filled with the type's default value.| Modifier and Type | Method and Description |
|---|---|
byte[] |
borrowByteArray(int positionCount) |
int[] |
borrowIntArray(int positionCount) |
int |
getBorrowedArrayCount() |
long |
getEstimatedSizeInBytes() |
void |
returnArray(byte[] array) |
void |
returnArray(int[] array) |
int[] borrowIntArray(int positionCount)
void returnArray(int[] array)
byte[] borrowByteArray(int positionCount)
void returnArray(byte[] array)
int getBorrowedArrayCount()
long getEstimatedSizeInBytes()
Copyright © 2012–2022. All rights reserved.