Show / Hide Table of Contents

Interface IArray<T, TIndex>

An indexed fixed-sized data structure.

Inherited Members
IDataStructure<T>.ToArray()
ISteppable<T>.StepperBreak<TStep>(TStep)
Namespace: Towel.DataStructures
Assembly: Towel.dll
Syntax
public interface IArray<T, TIndex> : IDataStructure<T>, ISteppable<T>, System.Collections.Generic.IEnumerable<T>
Type Parameters
Name Description
T

The generic type within the structure.

TIndex

The generic type of the indexing.

Properties

| Improve this Doc View Source

Item[TIndex]

Allows indexed access of the array.

Declaration
T this[TIndex index] { get; set; }
Parameters
Type Name Description
TIndex index

The index of the array to get/set.

Property Value
Type Description
T

The value at the desired index.

| Improve this Doc View Source

Length

The length of the array.

Declaration
TIndex Length { get; }
Property Value
Type Description
TIndex

Extension Methods

Steppable.Stepper<T>(ISteppable<T>, Action<T>)
Steppable.Stepper<T, TStep>(ISteppable<T>, TStep)
Steppable.StepperBreak<T>(ISteppable<T>, Func<T, StepStatus>)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX