Initializing help system before first use

HashMap2(K1, K2, V) Class

A 2-dimensional hash map.
Inheritance Hierarchy
System.Object
   System.Collections.Generic.Dictionary < MapKey2 < K1, K2 >, V >
     Optimizer.Maps.HashMap2<K1, K2, V>

Namespace:   Optimizer.Maps
Assembly:  xprsdn (in xprsdn.dll) Version: 44.01.04
Syntax
C#
public sealed class HashMap2<K1, K2, V> : Dictionary<MapKey2<K1, K2>, V>

Type Parameters

K1
K2
V

The HashMap2<K1, K2, V> type exposes the following members.

Constructors
  Name Description
Public method HashMap2<K1, K2, V>
Initializes a new instance of the HashMap2<K1, K2, V> class
Top
Properties
  Name Description
Public property Comparer
Gets the IEqualityComparer<T> that is used to determine equality of keys for the dictionary.
(Inherited from Dictionary<MapKey2<K1, K2>, V>.)
Public property Count
Gets the number of key/value pairs contained in the Dictionary<TKey, TValue>.
(Inherited from Dictionary<MapKey2<K1, K2>, V>.)
Public property Item[TKey]
Gets or sets the value associated with the specified key.
(Inherited from Dictionary<MapKey2<K1, K2>, V>.)
Public property Item[K1, K2]
Get the value for tuple (key1,key2).
Public property Keys
Gets a collection containing the keys in the Dictionary<TKey, TValue>.
(Inherited from Dictionary<MapKey2<K1, K2>, V>.)
Public property Values
Gets a collection containing the values in the Dictionary<TKey, TValue>.
(Inherited from Dictionary<MapKey2<K1, K2>, V>.)
Top
Methods
  Name Description
Public method Add(TKey, TValue)
Adds the specified key and value to the dictionary.
(Inherited from Dictionary<MapKey2<K1, K2>, V>.)
Public method Add(K1, K2, V)
Map (key1,key2) to value.
Public method Clear
Removes all keys and values from the Dictionary<TKey, TValue>.
(Inherited from Dictionary<MapKey2<K1, K2>, V>.)
Public method ContainsKey(TKey)
Determines whether the Dictionary<TKey, TValue> contains the specified key.
(Inherited from Dictionary<MapKey2<K1, K2>, V>.)
Public method ContainsKey(K1, K2)
Test whether (key1,key2) exists.
Public method ContainsValue
Determines whether the Dictionary<TKey, TValue> contains a specific value.
(Inherited from Dictionary<MapKey2<K1, K2>, V>.)
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public method GetEnumerator
Returns an enumerator that iterates through the Dictionary<TKey, TValue>.
(Inherited from Dictionary<MapKey2<K1, K2>, V>.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetObjectData
Implements the ISerializable interface and returns the data needed to serialize the Dictionary<TKey, TValue> instance.
(Inherited from Dictionary<MapKey2<K1, K2>, V>.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method OnDeserialization
Implements the ISerializable interface and raises the deserialization event when the deserialization is complete.
(Inherited from Dictionary<MapKey2<K1, K2>, V>.)
Public method Remove
Removes the value with the specified key from the Dictionary<TKey, TValue>.
(Inherited from Dictionary<MapKey2<K1, K2>, V>.)
Public method ToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public method TryGetValue(TKey, TValue)
Gets the value associated with the specified key.
(Inherited from Dictionary<MapKey2<K1, K2>, V>.)
Public method TryGetValue(K1, K2, V)
Tentatively get the value for tuple
(key1,key2)
.
Top
Remarks
Instances of this class map tuples with 2 elements to value and provide some convenience functions to access elements without having to explicitly construct the tuples. Tuples are mapped using their hash codes.
See Also

© 2001-2025 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.