public static class DynamicArray.Int extends DynamicArray
DynamicArray.Byte, DynamicArray.Double, DynamicArray.Float, DynamicArray.Generic, DynamicArray.Int, DynamicArray.Long, DynamicArray.Short
Constructor and Description |
---|
DynamicArray.Int()
Create a Integer DynamicArray.
|
DynamicArray.Int(int granularity)
Create a Integer DynamicArray.
|
public DynamicArray.Int(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.Int()
public void addSingle(int value)
public int[] asArray()
asArray
in class DynamicArray