Summary
An
System.Collections.Generic.IReadOnlyList`1
which can remove items in O(1)
time without searching and an inbuilt
enumerator which supports modifications at any time (including during enumeration).
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Interfaces
-
- IReadOnlyList
<T>
- IReadOnlyList
- Implementing Types
graph BT
Type-.->Interface0["IReadOnlyList<T>"]
Type["IReadOnlyIndexedList<T>"]
class Type type-node
Implementing0["IndexedList<TItem, TIndexer>"]-.->Type
click Implementing0 "/animancer/api/Animancer/IndexedList_2"
Implementing1["IUpdatable.List"]-.->Type
click Implementing1 "/animancer/api/Animancer/List"
Syntax
public interface IReadOnlyIndexedList<T> : IReadOnlyList<T>
Type Parameters
Name | Description |
---|---|
T |
Properties
Name | Value | Summary |
---|---|---|
Capacity | int |
The number of items this list can contain before resizing is required.
|
Methods
Name | Value | Summary |
---|---|---|
Contains |
bool |
Is the `item` currently in this list?
|
Contains |
bool |
Is the `item` currently in this list at the specified `index`?
|
CopyTo |
void |
Copies all the items from this list into the `array`, starting at the specified `index`.
|
DeepToString |
string |
Returns a string describing this list and its contents.
|
IndexOf |
int |
Returns the index of the `item` in this list or
-1 if it's not in this list. |