Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ArrayContainer<T, SourceT, ArrayT, IteratorT, ReverseT, ElemT>

Base array container.

author

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

Type parameters

Hierarchy

Implements

  • IContainer<T, SourceT, IteratorT, ReverseT, ElemT>
  • ILinearContainerBase<T, SourceT, IteratorT, ReverseT, ElemT>

Index

Methods

[Symbol.iterator]

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

Abstract assign

  • assign<InputIterator>(first: InputIterator, last: InputIterator): void

at

  • at(index: number): T

back

  • back(): T
  • back(val: T): void

begin

  • begin(): IteratorT

Abstract clear

  • clear(): void

empty

  • empty(): boolean

end

  • end(): IteratorT

erase

  • erase(it: IteratorT): IteratorT
  • erase(first: IteratorT, last: IteratorT): IteratorT

front

  • front(): T
  • front(val: T): void

insert

  • insert(pos: IteratorT, val: T): IteratorT
  • insert(pos: IteratorT, n: number, val: T): IteratorT
  • insert<InputIterator>(pos: IteratorT, first: InputIterator, last: InputIterator): IteratorT

pop_back

  • pop_back(): void

Abstract push

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

Abstract push_back

  • push_back(val: T): void

rbegin

  • rbegin(): ReverseT

rend

  • rend(): ReverseT

Abstract resize

  • resize(n: number): void

set

  • set(index: number, val: T): void

Abstract size

  • size(): number

Abstract swap

  • swap(obj: SourceT): void

toJSON

  • toJSON(): Array<T>

Generated using TypeDoc