public static interface LogEntrySet.Cursor extends LogEntry
| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID
Generated ID for serialisation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterLastEntry()
Position the cursor directly after the last entry.
|
void |
beforeFirstEntry()
Position the cursor directly before the first entry.
|
int |
getPosition()
Returns the current cursor position which lies in the closed interval
[ -1, <entryCount> ]. |
boolean |
nextEntry()
Advances the cursor position to the next entry (or at most to the cursor
position directly after the last entry) and returns whether the new cursor
position points to an accessible log entry.
|
boolean |
prevEntry()
Moves the cursor position to the previous entry (or at most to the cursor
position directly before the first entry) and returns whether the new
cursor position points to an accessible log entry.
|
void |
setPosition(int cursorPos)
Sets the cursor to the specified position, either an entry or one before
first or one after last entry.
|
get, get, getBoolean, getBoolean, getByte, getByte, getDouble, getDouble, getEntrySet, getEntrySet, getFloat, getFloat, getID, getInteger, getInteger, getLong, getLong, getSchema, getShort, getShort, getString, getString, getTimestamp, getTimestamp, getUUID, getUUID, isNull, isNull, setBoolean, setBoolean, setByte, setByte, setDouble, setDouble, setEntrySet, setEntrySet, setFloat, setFloat, setID, setInteger, setInteger, setLong, setLong, setNull, setNull, setShort, setShort, setString, setString, setTimestamp, setTimestamp, setUUID, setUUIDstatic final long serialVersionUID
void setPosition(int cursorPos)
cursorPos - the new cursor positionint getPosition()
[ -1, <entryCount> ].boolean nextEntry()
boolean prevEntry()
void beforeFirstEntry()
void afterLastEntry()