Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IRandomAccessContainer<IteratorT>

Random-access iterable container.

template

Iterator type

author

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

Type parameters

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

size

  • size(): number

Generated using TypeDoc