Click or drag to resize

MultiMapK, V Class

Custom implementation of a multi map because C# does not offer one by default
Inheritance Hierarchy
SystemObject
  Karamba.UtilitiesMultiMapK, V

Namespace:  Karamba.Utilities
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
[SerializableAttribute]
public class MultiMap<K, V>

Type Parameters

K
type of key
V
type of values

The MultiMapK, V type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyItem
return all values corresponding to a given key
Public propertyKeys
return all the keys of the multi-map
Top
Methods
  NameDescription
Public methodAdd
add an element to the map
Public methodAddUnique
add an element to the map if not already present
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also