Skip to content
This repository has been archived by the owner on Feb 26, 2021. It is now read-only.

Exomia.Native.Collections

Daniel Baetz edited this page Nov 11, 2018 · 13 revisions

List2<T>

a faster list for unmanaged types

public class Exomia.Native.Collections.List2<T>

Properties

Type Name Summary
Int32 Capacity
Int32 Count returns the current number of itms in this list
T Item returns the item at the specified index
T Item returns the item at the specified index

Methods

Type Name Summary
void Add(T& item)
void Clear()
Boolean Contains(T& item)
T& Get(Int32 index)
T& Get(UInt32 index)
List2<T> GetRange(Int32 index, Int32 count)
Int32 IndexOf(T& item, Int32 startIndex, Int32 count)
void Insert(Int32 index, T& item)
Boolean Remove(T& item)
void RemoveAt(Int32 index)
void RemoveRange(Int32 index, Int32 count)
T[] ToArray()
T[] ToArray(Int32 index)
T[] ToArray(Int32 index, Int32 count)