Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IBidirectionalContainer<IteratorT, ReverseIteratorT>

Bidirection iterable container.

template

Iterator type

author

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

Type parameters

  • IteratorT: IReversableIterator<IPointer.ValueType<IteratorT>, IteratorT, ReverseIteratorT>

  • ReverseIteratorT: IReverseIterator<IPointer.ValueType<IteratorT>, IteratorT, ReverseIteratorT>

Hierarchy

Index

Type aliases

IteratorType

IteratorType<Container>: Container extends Array<infer T> ? Vector.Iterator<T> : Container extends IForwardContainer<infer Iterator> ? Iterator : unknown

Deduct iterator type.

Type parameters

SimilarType

SimilarType<Container>: Array<ValueType<Container>> | IForwardContainer<IForwardIterator<ValueType<Container>, any>>

Deduct similar type.

Type parameters

ValueType

ValueType<Container>: IPointer.ValueType<IteratorType<Container>>

Deduct value type.

Type parameters

Methods

begin

  • begin(): IteratorT

end

  • end(): IteratorT

rbegin

  • rbegin(): ReverseIteratorT

rend

  • rend(): ReverseIteratorT

size

  • size(): number

Generated using TypeDoc