public class ShortArrayWrapper extends java.lang.Object implements IPrimaryArrayWrapper
Constructor and Description |
---|
ShortArrayWrapper(short[] data) |
Modifier and Type | Method and Description |
---|---|
double |
get(int i)
Get the array element value at index i.
|
int |
getSize()
Get size of the array.
|
void |
setData(short[] data) |
public void setData(short[] data)
public double get(int i)
IPrimaryArrayWrapper
get
in interface IPrimaryArrayWrapper
i
- indexpublic int getSize()
IPrimaryArrayWrapper
getSize
in interface IPrimaryArrayWrapper