FastList<T> Class

Summary

Represents a strongly typed list of elements.
Namespace
AlphaTab.Collections
Interfaces
  • IEnumerable<T>
  • IEnumerable
Base Types
  • object
graph TD Base0["object"]-->Type Interface0["IEnumerable<T>"]-.->Type Interface1["IEnumerable"]-.->Type Type["FastList<T>"] class Type type-node

Syntax

[Abstract("Array<T>", "Array<T>", "Array<T>")]
[ForeachMode(ForeachMode.GetEnumerator)]
public class FastList<T> : IEnumerable<T>, IEnumerable

Attributes

Type Description
Abstract
ForeachMode

Type Parameters

Name Description
T The type fo the elements

Constructors

Name Summary
FastList()
FastList() Initializes a new instance of the FastList<T> class.

Properties

Name Value Summary
Count int
Count int
Gets the number of elements contained in the list.
this[int] T
this[int] T
Gets or sets the value at the specified index.

Methods

Name Value Summary
Add(T) void
Add(T) void
Adds the specified item to the list.
Clone() FastList<T>
Clone() FastList<T>
Clones this instance.
GetEnumerator() IEnumerator<T>
GetEnumerator() IEnumerator<T>
IndexOf(T) int
IndexOf(T) int
Searches for the given item in the list and returns the index.
InsertAt(int, T) void
InsertAt(int, T) void
Inserts an element at the specified index.
RemoveAt(int) void
RemoveAt(int) void
Removes the item at the specified index.
Reverse() void
Reverse() void
Reverses the items in the list
Sort(Comparison<T>) void
Sort(Comparison<T>) void
Sorts the elements in the list using the specified comparison.
ToArray() T[]
ToArray() T[]
Converts the current list into an array of all elements.
ToEnumerable() IEnumerable<T>

See Also

  • System.Collections.Generic.IEnumerable`1