Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SetElementList<Key, Unique, Source>

Doubly Linked List storing set elements.

author

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

Type parameters

  • Key

    Key type

  • Unique: boolean

    Whether duplicated key is blocked or not

  • Source: SetContainer<Key, Unique, Source, Iterator<Key, Unique, Source>, ReverseIterator<Key, Unique, Source>>

    Source container type

Hierarchy

Implements

Index

Constructors

Protected constructor

Methods

[Symbol.iterator]

  • [Symbol.iterator](): IterableIterator<Key>

assign

  • assign(n: number, val: Key): void
  • assign<InputIterator>(first: InputIterator, last: InputIterator): void

begin

  • begin(): Iterator<Key, Unique, Source>

clear

  • clear(): void

empty

  • empty(): boolean

end

erase

insert

  • insert(position: Iterator<Key, Unique, Source>, val: Key): Iterator<Key, Unique, Source>
  • insert(position: Iterator<Key, Unique, Source>, size: number, val: Key): Iterator<Key, Unique, Source>
  • insert<InputIterator>(position: Iterator<Key, Unique, Source>, begin: InputIterator, end: InputIterator): Iterator<Key, Unique, Source>

pop_back

  • pop_back(): void

pop_front

  • pop_front(): void

push

  • push(...items: Key[]): number

push_back

  • push_back(val: Key): void

push_front

  • push_front(val: Key): void

rbegin

rend

resize

  • resize(n: number): void

size

  • size(): number

swap

  • swap(obj: Source): void

toJSON

  • toJSON(): Array<Key>

Generated using TypeDoc