Class IntArrayWrapper
java.lang.Object
org.csstudio.swt.widgets.datadefinition.IntArrayWrapper
- All Implemented Interfaces:
IPrimaryArrayWrapper
A wrapper for int[].
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
IntArrayWrapper
public IntArrayWrapper(int[] data)
-
-
Method Details
-
setData
public void setData(int[] data) -
get
public double get(int i) Description copied from interface:IPrimaryArrayWrapper
Get the array element value at index i.- Specified by:
get
in interfaceIPrimaryArrayWrapper
- Parameters:
i
- index- Returns:
- the value at index i.
-
getSize
public int getSize()Description copied from interface:IPrimaryArrayWrapper
Get size of the array.- Specified by:
getSize
in interfaceIPrimaryArrayWrapper
- Returns:
- size of the array.
-