Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RetroValueIterator<T>

A reverse iterator for values in a linked list.

Type parameters

  • T

Hierarchy

  • RetroValueIterator

Implements

  • IIterator<T>

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Private _node

_node: INode<T> | null

Methods

clone

  • clone(): IIterator<T>
  • Create an independent clone of the iterator.

    Returns IIterator<T>

    A new independent clone of the iterator.

iter

  • iter(): IIterator<T>
  • Get an iterator over the object's values.

    Returns IIterator<T>

    An iterator which yields the object's values.

next

  • next(): T | undefined
  • Get the next value from the iterator.

    Returns T | undefined

    The next value from the iterator, or undefined.

Generated using TypeDoc