public static class DynamicArray.Short extends DynamicArray
DynamicArray.Byte, DynamicArray.Double, DynamicArray.Float, DynamicArray.Generic, DynamicArray.Int, DynamicArray.Long, DynamicArray.Short
Constructor and Description |
---|
DynamicArray.Short()
Create a Short DynamicArray.
|
DynamicArray.Short(int granularity)
Create a Short DynamicArray.
|
public DynamicArray.Short(int granularity)
granularity
- Accepted values go from 0 to 8 where lower value mean less memory used but more
allocation time where higher mean more memory used but less allocation time
(default =
4).public DynamicArray.Short()
public void addSingle(short value)
public short[] asArray()
asArray
in class DynamicArray