- Direct Known Subclasses:
- PrimitiveByteArray, PrimitiveCharArray, PrimitiveDoubleArray, PrimitiveFloatArray, PrimitiveIntArray, PrimitiveLongArray, PrimitiveShortArray, ReferenceArray
public abstract class AbstractPrimitiveArray
extends java.lang.Object
A abstract base class for subclassable primitive and reference arrays.
Subclassable arrays are useful for modeling the commonly used "struct with variable array at the end"
available in the C family of languages. JDKs may optimize the layout of a PrimitiveArray such that
access to the array members may be faster than regular de-referenced access through a nested array
reference.