public interface ValueStore
Modifier and Type | Method and Description |
---|---|
void |
get(long index,
Object array,
int ioff,
int count)
Retrieves a vector of values from this object.
|
long |
getLength()
Returns the length of the vector.
|
Class<?> |
getType()
Returns the class of value which this object can store.
|
void |
put(long index,
Object array,
int ioff,
int count)
Stores a vector of values in this object.
|
Class<?> getType()
long getLength()
void put(long index, Object array, int ioff, int count)
array
must be an array of values matching
getType
. Element ioff
of array
is stored at index index
, elemnt ioff+1
at
index+1
, etc.index
- starting offset to write toarray
- array of values to storeioff
- offset into array from which the first value is takencount
- number of values to transfervoid get(long index, Object array, int ioff, int count)
array
must be an array of type matching
getType
. Every element of array
will be filled with values; the first retrieved from offset
index
, the second from index+1
, etc.index
- starting offsetarray
- array to accept dataioff
- offset into array to which the first value is copiedcount
- number of values to transferCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.