|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Some methods useful when a record source is used in an interactive environment.
Method Summary | |
boolean |
hasNext()
Test if there are more records available. |
boolean |
hasPrevious()
Test if a previous record is available. |
void |
previous()
Steps back to the previous record. |
void |
skip(int index)
Skip a certain number of records. |
Method Detail |
public boolean hasNext()
true
if there are (may be) more records available.public boolean hasPrevious()
public void previous() throws NoSuchRecordException
NoSuchRecordException
- If no previous record is available.public void skip(int index) throws NoSuchRecordException
index
- The number of records to skip. Must be >= 0.
NoSuchRecordException
- If there are not enough records to skip
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |