|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RandomAccessRecordSource
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 |
---|
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.int currentIndex()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |