IVectorConst

Description

interface Tinman.Core.Collections.IVectorConst<T>

Derived from

IBagConst<T>
IEquatable<IVectorConst<T>>

Extended by

IArrayVector
IDeque
IVector
VectorConstBase abstract

Base interface for classes that represent a read-only list of elements.

Public / Methods

Get​At


[Pure]
public method GetAt → (1)

index in : int32

[0..IBagConst.Count-1]
The list index.

returns → T

The element.

Returns the element at the given list index.

Index​Of


[Pure]
public method IndexOf → (1)

element in : T

The element.

returns → int32

The list index or -1 if the element is not contained in the list.

Returns the list index of the given element.