Click or drag to resize

IdentityDictionaryK, V Class

An extended dictionary based upon a closed hashing algorithm.
Inheritance Hierarchy
SystemObject
  com.espertech.esper.compat.collectionsBaseMapK, V
    com.espertech.esper.compat.collectionsHashMapK, V
      com.espertech.esper.compat.collectionsIdentityDictionaryK, V

Namespace:  com.espertech.esper.compat.collections
Assembly:  NEsper.Compat (in NEsper.Compat.dll) Version: 8.0.0.0
Syntax
C#
public class IdentityDictionary<K, V> : HashMap<K, V>
where K : class

Type Parameters

K
V

The IdentityDictionaryK, V type exposes the following members.

Constructors
  NameDescription
Public methodIdentityDictionaryK, V
Initializes a new instance of the IdentityDictionaryK, V class.
Top
Properties
  NameDescription
Public propertyCount (Inherited from BaseMapTK, TV.)
Public propertyFirstValue
Returns the first value in the enumeration of values
(Inherited from BaseMapTK, TV.)
Public propertyIsReadOnly (Inherited from BaseMapTK, TV.)
Public propertyItem
Gets or sets the item with the specified key.
(Inherited from BaseMapTK, TV.)
Public propertyKeys (Inherited from BaseMapTK, TV.)
Protected propertySubDictionary
Gets or sets the subdictionary.
(Inherited from BaseMapTK, TV.)
Public propertyValues (Inherited from BaseMapTK, TV.)
Top
Methods
  NameDescription
Public methodAdd(KeyValuePairTKey, TValue) (Inherited from BaseMapTK, TV.)
Public methodAdd(TK, TV) (Inherited from BaseMapTK, TV.)
Public methodClear (Inherited from BaseMapTK, TV.)
Public methodContains (Inherited from BaseMapTK, TV.)
Public methodContainsKey (Inherited from BaseMapTK, TV.)
Public methodCopyTo (Inherited from BaseMapTK, TV.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from BaseMapTK, TV.)
Public methodGet(TK)
Fetches the value associated with the specified key. If no value can be found, then default(V) is returned.
(Inherited from BaseMapTK, TV.)
Public methodGet(TK, TV)
Fetches the value associated with the specified key. If no value can be found, then the defaultValue is returned.
(Inherited from BaseMapTK, TV.)
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
(Inherited from BaseMapTK, TV.)
Public methodGetHashCode
Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from BaseMapTK, TV.)
Public methodPush
Sets the given key in the dictionary. If the key already exists, then it is remapped to the new value. If a value was previously mapped it is returned.
(Inherited from BaseMapTK, TV.)
Public methodPut
Sets the given key in the dictionary. If the key already exists, then it is remapped to thenew value.
(Inherited from BaseMapTK, TV.)
Public methodPutAll (Inherited from BaseMapTK, TV.)
Public methodRemove(KeyValuePairTKey, TValue) (Inherited from BaseMapTK, TV.)
Public methodRemove(TK) (Inherited from BaseMapTK, TV.)
Public methodRemove(TK, TV)
Removes the item from the dictionary that is associated with the specified key. Returns the value that was found at that location and removed or the defaultValue.
(Inherited from BaseMapTK, TV.)
Public methodRemoveAndReturn
Removes the item from the dictionary that is associated with the specified key. The item if found is returned; if not, default(V) is returned.
(Inherited from BaseMapTK, TV.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from BaseMapTK, TV.)
Public methodTryGetValue
Tries the get value.
(Inherited from BaseMapTK, TV.)
Top
See Also