Options
All
  • Public
  • Public/Protected
  • All
Menu

A cursor is a handle to a specific element in a collection.

Type parameters

  • T

Hierarchy

  • Cursor

Implemented by

Index

Properties

Methods

Properties

value

value: T

A reference to the element pointed to by this cursor, as it was inserted into the collection.

Methods

Optional next

  • Get a reference to the cursor that is immediately after this one.

    If the collection does not specify an order, this method will not exist.

    Returns null | Cursor<T>

Optional nextAll

  • nextAll(): IterableIterator<Cursor<T>>
  • Generate all elements from this cursor till the end of the collection.

    If the collection does not specify an order, this method will not exist.

    Returns IterableIterator<Cursor<T>>

Optional prev

  • Get a reference to the cursor that is immediately before to this one.

    If the collection does not specify an order, this method will not exist.

    Returns null | Cursor<T>

Optional prevAll

  • prevAll(): IterableIterator<Cursor<T>>
  • Generate all elements from this cursor till the beginning of the collection.

    If the collection does not specify an order, this method will not exist.

    Returns IterableIterator<Cursor<T>>

Legend

  • Property
  • Method
  • Accessor
  • Property
  • Method
  • Inherited property
  • Inherited method

Generated using TypeDoc