Package gov.nasa.worldwind.util
Class ShortArray
- java.lang.Object
-
- gov.nasa.worldwind.util.ShortArray
-
public class ShortArray extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ShortArray()
ShortArray(int initialCapacity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ShortArray
add(short value)
short[]
array()
ShortArray
clear()
short
get(int index)
ShortArray
set(int index, short value)
int
size()
ShortArray
trimToSize()
-
-
-
Method Detail
-
array
public short[] array()
-
size
public int size()
-
get
public short get(int index)
-
set
public ShortArray set(int index, short value)
-
add
public ShortArray add(short value)
-
trimToSize
public ShortArray trimToSize()
-
clear
public ShortArray clear()
-
-