Class ByteArrayWrapper
- java.lang.Object
-
- org.eclipse.nebula.visualization.widgets.datadefinition.ByteArrayWrapper
-
- All Implemented Interfaces:
IPrimaryArrayWrapper
public class ByteArrayWrapper extends java.lang.Object implements IPrimaryArrayWrapper
A wrapper for byte[].
-
-
Field Summary
Fields Modifier and Type Field Description private byte[]data
-
Constructor Summary
Constructors Constructor Description ByteArrayWrapper(byte[] data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doubleget(int i)Get the array element value at index i.intgetSize()Get size of the array.voidsetData(byte[] data)
-
-
-
Method Detail
-
setData
public void setData(byte[] data)
-
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.
-
-