This repository has been archived by the owner on Feb 26, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Exomia.Native.Collections
Daniel Baetz edited this page Jun 21, 2019
·
13 revisions
a faster list for unmanaged types.
public class Exomia.Native.Collections.List2<T>
Constructors
Type | Name | Summary |
---|---|---|
.ctor |
List2`1() | Initializes a new instance of the <see cref="List2<T>"/> class. |
.ctor |
List21( Int32` capacity) |
Initializes a new instance of the <see cref="List2<T>"/> class. |
.ctor |
List21( IEnumerable` collection)
|
Initializes a new instance of the <see cref="List2<T>"/> class. |
Properties
Type | Name | Summary |
---|---|---|
Int32 |
Capacity | Sets the capacity. |
Int32 |
Count | returns the current number of items in this list. |
T |
ItemParameter:
|
returns the item at the specified index. |
T |
ItemParameter:
|
returns the item at the specified index. |
Methods
Type | Name | Summary |
---|---|---|
void |
Add( |
Adds item. |
void |
Clear() | Clears this object to its blank/initial state. |
Boolean |
Contains( |
Query if this object contains the given item. |
T& |
Get( |
Gets a reference t using the given index. |
T& |
Get( |
Gets a reference t using the given index. |
List2<T> |
GetRange( |
Finds the range of the given arguments. |
Int32 |
IndexOf( |
Searches for the first match. |
void |
Insert( |
Inserts. |
Boolean |
Remove( |
Removes the given item. |
void |
RemoveAt( |
Removes at described by index. |
void |
RemoveRange( |
Removes the range. |
T[] |
ToArray() | Convert this object into an array representation. |
T[] |
ToArray(Int32 index) |
Convert this object into an array representation. |
T[] |
ToArray(Int32 index, Int32 count) |
Convert this object into an array representation. |