Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Iterator<Key, T, Unique, Source>

Iterator of map container storing elements in a vector.

author

Jeongho Nam - https://github.com/samchon

Type parameters

  • Key

    Key type

  • T

    Mapped type

  • Unique: boolean

    Whether duplicated key is blocked or not

  • Source: ITreeMap<Key, T, Unique, Source, Iterator<Key, T, Unique, Source>, ReverseIterator<Key, T, Unique, Source>>

    Source container type

Hierarchy

Implements

Index

Constructors

constructor

Accessors

first

  • get first(): Key

second

  • get second(): T
  • set second(val: T): void

value

  • get value(): Entry<Key, T>
  • set value(val: Entry<Key, T>): void

Methods

advance

  • advance(n: number): Iterator<Key, T, Unique, Source>

equals

  • equals(obj: Iterator<Key, T, Unique, Source>): boolean

index

  • index(): number

next

  • next(): Iterator<Key, T, Unique, Source>

prev

  • prev(): Iterator<Key, T, Unique, Source>

reverse

source

  • source(): Source

Generated using TypeDoc