Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • E

Hierarchy

  • Iterator

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Private array

array: E[]

Methods

forEachRemaining

  • forEachRemaining(callback: function): void
  • Parameters

    • callback: function
        • (element: E): any
        • Parameters

          • element: E

          Returns any

    Returns void

hasNext

  • hasNext(): boolean
  • Returns {@code true} if the iteration has more elements. (In other words, returns {@code true} if {@link #next} would return an element rather than throwing an exception.)

    Returns boolean

    if the iteration has more elements

next

  • next(): E

Generated using TypeDoc