Interface LogEntrySet.Cursor

    • Field Detail

      • serialVersionUID

        static final long serialVersionUID
        Generated ID for serialisation.
        See Also:
        Constant Field Values
    • Method Detail

      • setPosition

        void setPosition​(int cursorPos)
        Sets the cursor to the specified position, either an entry or one before first or one after last entry.
        Parameters:
        cursorPos - the new cursor position
      • getPosition

        int getPosition()
        Returns the current cursor position which lies in the closed interval [ -1, <entryCount> ].
        Returns:
        the current cursor position
      • nextEntry

        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.
        Returns:
        whether the new cursor position points to an accessible log entry
      • prevEntry

        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.
        Returns:
        whether the new cursor position points to an accessible log entry
      • beforeFirstEntry

        void beforeFirstEntry()
        Position the cursor directly before the first entry.
      • afterLastEntry

        void afterLastEntry()
        Position the cursor directly after the last entry.