public class IntensityGraphFigure.UnsignedPrimitiveArrayWrapper extends java.lang.Object implements IPrimaryArrayWrapper
| Constructor and Description |
|---|
UnsignedPrimitiveArrayWrapper(IPrimaryArrayWrapper array,
int bits)
Wrap an array to return unsigned 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.
|
public UnsignedPrimitiveArrayWrapper(IPrimaryArrayWrapper array, int bits)
array - Array to be wrappedbits - Length of unsigned data, in bitspublic double get(int i)
IPrimaryArrayWrapperget in interface IPrimaryArrayWrapperi - indexpublic int getSize()
IPrimaryArrayWrappergetSize in interface IPrimaryArrayWrapper