public interface PVUIntArray extends PVScalarArray
Modifier and Type | Method and Description |
---|---|
int |
get(int offset,
int length,
IntArrayData data)
Get values from a PVIntArray and put them into int[]to.
|
int |
put(int offset,
int length,
int[] from,
int fromOffset)
Put values into a PVIntArray from int[]from.
|
void |
shareData(int[] from)
Share the data from caller.
|
getScalarArray
getCapacity, getLength, isCapacityMutable, setCapacity, setCapacityMutable, setLength
getField, getFieldName, getFieldOffset, getNextFieldOffset, getNumberFields, getParent, getPVAuxInfo, isImmutable, postPut, renameField, setImmutable, setPostHandler, setRequester, toString, toString, toString
getRequesterName, message
serialize
deserialize, serialize
int get(int offset, int length, IntArrayData data)
offset
- The offset to the first element to get.length
- The maximum number of elements to transfer.data
- The class containing the data and an offset into the data.
Get sets these values. The caller must do the actual data transfer.int put(int offset, int length, int[] from, int fromOffset)
offset
- The offset to the first element to put.length
- The maximum number of elements to transfer.from
- The array from which to get the data.fromOffset
- The offset into from.IllegalStateException
- if the field is not mutable.void shareData(int[] from)
from
- The data to share.Copyright © 2014. All Rights Reserved.