Stride.Core.Collections Namespace
Classes
Represent a collection associated with a constraint. When an item is added to this collection, it is tested against the constraint. If the test fails, the item can either be discarded, or an exception can be thrown. The desired behavior can be defined with ThrowException. |
||
Faster and lighter implementation of System.Collections.ObjectModel.Collection<T> with value types enumerators to avoid allocation in foreach loops, and various helper functions. |
||
Similar to System.Collections.Generic.List<T>, with direct access to underlying array. |
||
Represents a collection that generates events when items get added or removed. |
||
A dictionary that maps index values to items. It uses a sparse list internally for storage. |
||
List of items, stored sequentially and sorted by an implicit invariant key that are extracted from items by implementing GetKeyForItem(T). |
||
Represents a priority queue, where keys are sorted and each key might have mlutiple values. |
||
Represents the collection of values in a KoderHack.MultiValueSortedDictionary<TKey,TValue>. This class cannot be inherited |
||
Represents a priority queue, where keys are sorted and each key might have mlutiple values. |
||
A collection that maintains the order of the elements and lightter implementation of System.Collections.ObjectModel.Collection<T> with value types enumerators to avoid allocation in foreach loops, and various helper functions. |
||
Implements a priority queue of type T. Elements may be added to the queue in any order, but when we pull elements out of the queue, they will be returned in 'ascending' order. Adding new elements into the queue may be done at any time, so this is useful to implement a dynamically growing and shrinking queue. Both adding an element and removing the first element are log(N) operations. The queue is implemented using a priority-heap data structure. For more details on this elegant and simple data structure see "Programming Pearls" in our library. The tree is implemented atop a list, where 2N and 2N+1 are the child nodes of node N. The tree is balanced and left-aligned so there are no 'holes' in this list. |
||
Represents a sorted queue, with logarithmic time insertion and deletion. |
||
Represents a node in a priority queue, to allow O(n) removal. |
||
Represents a strongly-typed, read-only set of element. |
||
A list to ensure that all items are not null. |
||
Represents a collection of associated keys and values that are sorted by the keys and are accessible by key and by index. |
||
Represents a collection that generates events when items get added or removed. |
||
Represents a dictionary of key/value pairs that generates events when items get added or removed. |
||
Represents a hash set that generates events when items get added or removed. |
Structs
Array helper for a particular type, useful to get an empty array. |
||
Enumerates the elements of a KoderHack.MultiValueSortedDictionary<TKey,TValue>. |
||
MultiValueSortedDictionary<TKey, TValue>.ValueCollection.Enumerator |
Enumerates the elements of a KoderHack.MultiValueSortedDictionary<TKey,TValue>.ValueCollection. |
|
A pool of objects allocated and can be cleared without loosing previously allocated instance. |
Interfaces
Represents a strongly-typed, read-only set of element. |
||