|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ValueStore
Interface for storing a vector of values. Depending on implementation, these values may be objects or primitives.
| Method Summary | |
|---|---|
void |
get(long index,
java.lang.Object array,
int ioff,
int count)
Retrieves a vector of values from this object. |
long |
getLength()
Returns the length of the vector. |
java.lang.Class |
getType()
Returns the class of value which this object can store. |
void |
put(long index,
java.lang.Object array,
int ioff,
int count)
Stores a vector of values in this object. |
| Method Detail |
|---|
java.lang.Class getType()
long getLength()
void put(long index,
java.lang.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 transfer
void get(long index,
java.lang.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 transfer
|
Copyright © 2004 CLRC: Central Laboratory of the Research Councils. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||