OrderedDictionaryTKey, TValue Class |
Namespace: Accord.Collections
The OrderedDictionaryTKey, TValue type exposes the following members.
Name | Description | |
---|---|---|
OrderedDictionaryTKey, TValue |
Initializes a new instance of the OrderedDictionaryTKey, TValue class.
| |
OrderedDictionaryTKey, TValue(IEqualityComparerTKey) |
Initializes a new instance of the OrderedDictionaryTKey, TValue class.
| |
OrderedDictionaryTKey, TValue(Int32) |
Initializes a new instance of the OrderedDictionaryTKey, TValue class.
| |
OrderedDictionaryTKey, TValue(IDictionaryTKey, TValue, IEqualityComparerTKey) |
Initializes a new instance of the OrderedDictionaryTKey, TValue class.
| |
OrderedDictionaryTKey, TValue(Int32, IEqualityComparerTKey) |
Initializes a new instance of the OrderedDictionaryTKey, TValue class.
|
Name | Description | |
---|---|---|
Count |
Gets the number of elements contained in the ICollectionT.
| |
IsReadOnly |
Gets a value indicating whether the ICollectionT is read-only.
| |
Item |
Gets or sets the with the specified key.
| |
Keys |
Gets an ICollectionT containing the keys of the IDictionaryTKey, TValue.
| |
Values |
Gets an ICollectionT containing the values in the IDictionaryTKey, TValue.
|
Name | Description | |
---|---|---|
Add(KeyValuePairTKey, TValue) |
Adds an item to the ICollectionT.
| |
Add(TKey, TValue) |
Adds an element with the provided key and value to the IDictionaryTKey, TValue.
| |
Clear |
Removes all items from the ICollectionT.
| |
Contains |
Determines whether the ICollectionT contains a specific value.
| |
ContainsKey |
Determines whether the IDictionaryTKey, TValue contains an element with the specified key.
| |
CopyTo |
Copies the elements of the ICollectionT to an Array, starting at a particular Array index.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetEnumerator |
Returns an enumerator that iterates through the collection.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetKeyByIndex |
Gets the at the specified index.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetValueByIndex |
Gets the at the specified index.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Remove(KeyValuePairTKey, TValue) |
Removes the first occurrence of a specific object from the ICollectionT.
| |
Remove(TKey) |
Removes the element with the specified key from the IDictionaryTKey, TValue.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TryGetValue |
Gets the value associated with the specified key.
|
Name | Description | |
---|---|---|
HasMethod |
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.) | |
IsEqual |
Compares two objects for equality, performing an elementwise
comparison if the elements are vectors or matrices.
(Defined by Matrix.) | |
SetEqualsKeyValuePairTKey, TValue |
Compares two enumerables for set equality. Two
enumerables are set equal if they contain the
same elements, but not necessarily in the same
order.
(Defined by Matrix.) | |
To(Type) | Overloaded.
Converts an object into another type, irrespective of whether
the conversion can be done at compile time or not. This can be
used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.) | |
ToT | Overloaded.
Converts an object into another type, irrespective of whether
the conversion can be done at compile time or not. This can be
used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.) |