|
pRTI v1.3 | ||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
This packages the parameters supplied to the RTI for sendInteraction. This is conceptually an array with an initial capacity and the ability to grow. You enumerate by stepping index from 0 to size()-1.
| Method Summary | |
void |
add(int handle,
byte[] value)
Add pair beyond last index. |
void |
empty()
Removes all handles & values. |
int |
getHandle(int index)
Return handle at index position. |
byte[] |
getValue(int index)
Return copy of value at index position. |
int |
getValueLength(int index)
Return length of value at index position. |
byte[] |
getValueReference(int index)
Get the reference of the value at position index (not a clone) |
void |
remove(int handle)
Remove handle & value corresponding to handle. |
void |
removeAt(int index)
Remove handle & value at index position. |
int |
size()
|
| Method Detail |
public void add(int handle,
byte[] value)
handle - intvalue - byte[]public void empty()
public int getHandle(int index)
throws hla.rti.ArrayIndexOutOfBounds
index - int
public byte[] getValue(int index)
throws hla.rti.ArrayIndexOutOfBounds
index - int
public int getValueLength(int index)
throws hla.rti.ArrayIndexOutOfBounds
index - int
public byte[] getValueReference(int index)
throws hla.rti.ArrayIndexOutOfBounds
index - int
public void remove(int handle)
throws hla.rti.ArrayIndexOutOfBounds
handle - int
public void removeAt(int index)
throws hla.rti.ArrayIndexOutOfBounds
index - intpublic int size()
|
pRTI v1.3 | ||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||