Sage Modeling and Simulation Library

HashtableOfLists Methods

The HashtableOfLists type exposes the following members.

Methods


  Name Description
Public method Add
Adds an element with the specified key and value into the Hashtable of Lists.
Public method Clear
Removes all elements from the Hashtable of Lists.
Public method ContainsKey
Determines whether this hashtable of lists contains the specified key.
Public method Equals(System.Object)
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetEnumerator
Returns an Enumerator that can iterate through all of the entries in the Hashtable of Lists. The enumerator is an enumerator of values, not DictionaryEntries. This method first prunes empty lists from the hashtable.
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method PruneEmptyLists
Removes any entries in the HTOL that comprise a key and an empty list (which can result from removals of entries.)
Public method Remove(Object, Object)
Removes the element with the specified key from the Hashtableof Lists.
Public method Remove(Object)
Removes all elements with the specified key from the Hashtable of Lists.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)