- All Superinterfaces:
- AutoCloseable
public interface Cursor
extends AutoCloseable
A cursor is an object that moves to point to different locations in a data structure.
The abstraction originally comes from mechanical slide rules, which have a "cursor" which
slides to point to different positions on the ruler.
Each position a cursor points to is referred to as a "row".
This cursor does not allow the user to directly interact with the current row, it is
assumed that the data structure using this cursor provides some alternative mechanism for that.
The cursor is simply a control object that defines a current position and a means to move
that position.