The library provides classes and interfaces that define generic collections, which allow users to create strongly typed collections. These collections provide greater convenience and data handling performance than non-generic typed collections.
The library is available in the Include\Generic folder of the terminal working directory.
Objects:
Object |
Description |
Type |
|---|---|---|
Interface for implementing generic data collections |
INTERFACE |
|
Interface for implementing objects that can be compared |
INTERFACE |
|
Interface for implementing objects that can be compared in terms of "greater than, less than or equal to" |
INTERFACE |
|
Interface for implementing a generic class that compares two object of the T type, whether one is "greater than, less than or equal to" the other one |
INTERFACE |
|
Interface for implementing a generic class that compares two object of the T type for equality |
INTERFACE |
|
Interface for implementing generic data lists |
INTERFACE |
|
Interface for implementing generic collections of key/value pairs |
INTERFACE |
|
Interface for implementing generic data sets |
INTERFACE |
|
A helper class that implements the IComparer<T> generic interface based on Compare global methods |
CLASS |
|
A helper class that implements the IEqualityComparer<T> generic interface using Equals<T> and GetHashCode global methods |
CLASS |
|
A generic class that implements the IList<T> interface |
CLASS |
|
The class implements the key/value pair |
CLASS |
|
A generic class that implements the IMap<TKey, TValue> interface |
CLASS |
|
A generic class that implements the ISet<T> interface |
CLASS |
|
A helper class for implementing the CLinkedListNode<T> class |
CLASS |
|
A generic class that implements the ICollection<T> interface |
CLASS |
|
A generic class that implements the ICollection<T> interface |
CLASS |
|
A helper class used in implementing the CRedBlackTree<T> class |
CLASS |
|
A generic class that implements the ICollection<T> interface |
CLASS |
|
A generic class that implements the IMap<TKey, TValue> interface |
CLASS |
|
A generic class that implements the ISet<T> interface |
CLASS |
|
A generic class that implements the ICollection<T> interface |
CLASS |
Global methods:
Method |
Description |
|---|---|
Searches for the specified value in an ascending-sorted one-dimensional array using the IComparable<T> interface to compare elements |
|
Searches for the first occurrence of a value in a one-dimensional array |
|
Searches for the last occurrence of a value in a one-dimensional array |
|
Changes the sequence of elements in a one-dimensional array |
|
Compares two values, whether one of them is greater than, less than or equal to the other one |
|
Compares two values for equality |
|
Calculates the hash code value |