Options
All
  • Public
  • Public/Protected
  • All
Menu

Implements an iterator for a Linked List that obeys the Iterator protocol.

Type parameters

  • T

    the type of each value in the list

Hierarchy

  • ListIterator

Index

Constructors

Methods

Constructors

Methods

  • Return the current iterator. This seems illogical, but this is how Array IterableIterators work, so we need to be compatible. Perhaps a better implementation would be to return a new iterator that begins from the current position.

    Returns ListIterator<T>

  • next(): IteratorResult<T, any>
  • Returns the next item in the iteration.

    Returns IteratorResult<T, any>

Generated using TypeDoc