|
FreeHEP API Version current |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A record source which (efficiently) supports random access.
| Field Summary |
| Fields inherited from interface org.freehep.record.source.SequentialRecordSource |
UNKNOWN |
| Method Summary | |
int |
currentIndex()
Return the index of the current record. |
void |
goToRecord(int index)
Go to a specific record, specified by index. |
| Methods inherited from interface org.freehep.record.source.SequentialRecordSource |
close, getCurrentRecord, getEstimatedSize, getRecordClass, getSourceName, next, releaseRecord, rewind |
| Method Detail |
public void goToRecord(int index)
throws NoSuchRecordException
index - The index of the record to access (numbered from 0).
NoSuchRecordException - If the specified record does not exist.public int currentIndex()
|
FreeHEP API Version current |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||