IPrimaryArrayWrapper
public class IntensityGraphFigure.UnsignedPrimitiveArrayWrapper extends java.lang.Object implements IPrimaryArrayWrapper
Constructor | Description |
---|---|
UnsignedPrimitiveArrayWrapper(IPrimaryArrayWrapper array,
int bits) |
Wrap an array to return unsigned data.
|
Modifier and Type | Method | Description |
---|---|---|
double |
get(int i) |
Get the array element value at index i.
|
int |
getSize() |
Get size of the array.
|
public UnsignedPrimitiveArrayWrapper(IPrimaryArrayWrapper array, int bits)
array
- Array to be wrappedbits
- Length of unsigned data, in bitspublic double get(int i)
IPrimaryArrayWrapper
get
in interface IPrimaryArrayWrapper
i
- indexpublic int getSize()
IPrimaryArrayWrapper
getSize
in interface IPrimaryArrayWrapper