A Cursor implementation that iterates over an array of elements. ArrayCursor can be used in a custom implementation of Codec to return a cursor over features.
ArrayCursor
2023.0
Represents the type of elements that are served by the cursor.
Creates a new instance of ArrayCursor.
an array of elements to iterate over
Returns true when the Cursor contains more elements.
true
Cursor
true when the Cursor contains more elements.
Returns the next element of the Cursor.
the next element of the Cursor.
A Cursor implementation that iterates over an array of elements.
ArrayCursor
can be used in a custom implementation of Codec to return a cursor over features.Since
2023.0