CSharpTest.Net
CSharpTest.Net.Collections Namespace (CSharpTest.Net.Library)
See Also  Inheritance Hierarchy Send Feedback Download Help File
CSharpTest.Net.Library Assembly : CSharpTest.Net.Collections Namespace

Glossary Item Box

Classes

 ClassDescription
ClassBTreeDictionary<TKey,TValue> Implements an IDictionary interface for an in-memory B+Tree
ClassBTreeList<T> Implements an IList interface for an in-memory B+Tree of unique values
ClassDisposingList Disposes of each element in the collection when the collection is disposed.
ClassDisposingList<T> Disposes of each element in the collection when the collection is disposed.
ClassHashUtilities  
ClassKeyValueComparer<TKey,TValue> Represents a key-value comparison
ClassLListNode The basic Linked-list node, untyped, use LListNode<T> for strong typed nodes and lists.
ClassLListNode<T> A typed node, used similiarly to LinkedListNode<T>. Can belong to single list at a time, the type of list is usually LListNode<T>.LList
ClassLListNode.LList<T> Provides a linked list of nodes of type T
ClassLListNode.LList Provides a linked list of nodes of type T
ClassLListNode.LList<TNode> Provides a linked list of nodes of type T
ClassLurchTable<TKey,TValue> LurchTable stands for "Least Used Recently Concurrent Hash Table" and has definate similarities to both the .NET 4 ConcurrentDictionary as well as Java's LinkedHashMap. This gives you a thread-safe dictionary/hashtable that stores element ordering by insertion, updates, or access. In addition it can be configured to use a 'hard-limit' count of items that will automatically 'pop' the oldest item in the collection.
ClassLurchTable.KeyCollection<TKey,TValue> Provides the collection of Keys for the LurchTable
ClassLurchTable.ValueCollection<TKey,TValue> Provides the collection of Values for the LurchTable
ClassMergeSort Provides a stable array sort based on merge-sort using O(n) additional memory. As a release build, this routine will operate faster than Array.Sort when using a custom (non-default) comparison. It also has the advantange of being stable, that is it preserves the order of elements that compare as being of equal value.
ClassOrderedEnumeration<T> Creates an ordered enumeration from an unordered enumeration by paginating the data, sorting the page, and then performing a binary-tree grouped mergesort on the resulting pages. When the page size (memoryLimit) is hit, the page will be unloaded to disk and restored on demand if a serializer is provided.
ClassOrderedKeyValuePairs<TKey,TValue> Speicalizes the OrderedEnumeration of T to use key/value pairs with a key comparer.
ClassOrdinalList An ordinal list is a list optimized to store lists of integer data that can then be manipulated as a set with intersect/union etc. Each integer stored is translated to a bit offset and thus cann't be stored more than once or in any particular order. Note: adding the value int.Max will allocate int.Max/8 bytes of memory, so this is best used with ordinal indexes into a list that is smaller than 8,388,608 (one megabyte of bits). Pre-allocate with Ceiling = max for better performance, or add the integers in reverse order (highest to lowest).
ClassReadOnlyList<T> A readonly list of T
ClassSetList<T> Represents an immutable collection of unique items that can be manipulated as a set, intersect/union/etc.
ClassSynchronizedDictionary<TKey,TValue> Represents a thread-safe generic collection of key/value pairs.
ClassSynchronizedList<T> Represents a collection of objects that can be individually accessed by index.

Interfaces

 InterfaceDescription
InterfaceIConcurrentDictionary<TKey,TValue> Extends the IDictionaryEx interface to encompass concurrent/atomic operations
InterfaceICreateOrUpdateValue<TKey,TValue> An interface to provide conditional or custom creation or update logic to a concurrent dictionary.
InterfaceICreateValue<TKey,TValue> An interface to provide conditional or custom creation logic to a concurrent dictionary.
InterfaceIDictionaryEx<TKey,TValue> Extends the IDictionary interface to encompass the TryXxxx operations
InterfaceIReadOnlyCollection<T> Provides common interface members for the implementation of a Set
InterfaceIRemoveValue<TKey,TValue> An interface to provide conditional removal of an item from a concurrent dictionary.
InterfaceIUpdateValue<TKey,TValue> An interface to provide conditional or custom update logic to a concurrent dictionary.

Structures

 StructureDescription
StructureLurchTable.Enumerator<TKey,TValue> Provides an enumerator that iterates through the collection.
StructureLurchTable.KeyCollection.Enumerator<TKey,TValue> Provides an enumerator that iterates through the collection.
StructureLurchTable.ValueCollection.Enumerator<TKey,TValue> Provides an enumerator that iterates through the collection.

Delegates

 DelegateDescription
DelegateKeyValuePredicate<TKey,TValue> Provides a delegate that performs a test on key/value pair
DelegateKeyValueUpdate<TKey,TValue> Provides a delegate that performs an atomic update of a key/value pair
DelegateLurchTable.ItemUpdatedMethod<TKey,TValue> Method signature for the ItemUpdated event

Enumerations

 EnumerationDescription
EnumerationDuplicateHandling Defines how duplicate keys are handled
EnumerationLurchTableOrder Defines if and how items added to a LurchTable are linked together, this defines the value returned from Peek/Dequeue as the oldest entry of the specified operation.

See Also

Generated with Document! X 2011 by Innovasys