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

Type Parameters

  • T = Feature

    Represents the type of elements that are served by the cursor.

Hierarchy

  • ArrayCursor

Implements

Constructors

Methods

Constructors

Methods

  • Returns true when the Cursor contains more elements.

    Returns boolean

    true when the Cursor contains more elements.

  • Returns the next element of the Cursor.

    Returns T

    the next element of the Cursor.