Class IntensityGraphFigure.UnsignedPrimitiveArrayWrapper
java.lang.Object
org.eclipse.nebula.visualization.widgets.figures.IntensityGraphFigure.UnsignedPrimitiveArrayWrapper
- All Implemented Interfaces:
IPrimaryArrayWrapper
- Enclosing class:
- IntensityGraphFigure
public class IntensityGraphFigure.UnsignedPrimitiveArrayWrapper extends java.lang.Object implements IPrimaryArrayWrapper
Wraps an array of raw signed data to emulate an unsigned datatype.
-
Constructor Summary
Constructors Constructor Description UnsignedPrimitiveArrayWrapper(IPrimaryArrayWrapper array, int bits)Wrap an array to return unsigned data. -
Method Summary
-
Constructor Details
-
UnsignedPrimitiveArrayWrapper
Wrap an array to return unsigned data.- Parameters:
array- Array to be wrappedbits- Length of unsigned data, in bits
-
-
Method Details
-
get
public double get(int i)Description copied from interface:IPrimaryArrayWrapperGet the array element value at index i.- Specified by:
getin interfaceIPrimaryArrayWrapper- Parameters:
i- index- Returns:
- the value at index i.
-
getSize
public int getSize()Description copied from interface:IPrimaryArrayWrapperGet size of the array.- Specified by:
getSizein interfaceIPrimaryArrayWrapper- Returns:
- size of the array.
-