Nemerle Documentation

Hashtable Members

Hashtable overview

Public Instance Constructors

Hashtable Overloaded. Initializes a new instance of the Hashtable class.

Public Instance Properties

Count Returns the number of key/value pairs in the hashtable
Item  
Keys Returns a collection of the keys from this hashtable
KeyValuePairs Returns a collection of the key/value pairs from this hashtable
Values Returns a collection of the values from this hashtable

Public Instance Methods

Add Adds a key/value pair to this hashtable. This method will raise ArgumentException if the given key is already in in the underlying Framework hashtable.
Clear Clears the contents of this hashtable.
Clone Clones this hashtable.
Contains Returns `true' if the hashtable contains the specified key.
ContainsKey Returns `true' if the hashtable contains the specified key.
ContainsValue Returns `true' if the hashtable contains the specified value.
Equals (inherited from Object)  
Fold Folds a function over the key/value pairs.
Get Returns an optional value associated with the specified key.
GetEnumerator Creates an enumerator
GetHashCode (inherited from Object)  
GetType (inherited from Object)  
Iter Iterates a function over the key/value pairs in the hashtable.
Map Maps a given function defined of key-value pairs to the contents of this hashtable. A new hashtable object is created, containing the results of the application.
Remove Removes a key from the hashtable.
Set This is different from add, which can fail if the key is already in the underlying Framework hashtable...
ToString (inherited from Object)  

Protected Instance Methods

Finalize (inherited from Object)  
MemberwiseClone (inherited from Object)  

See Also

Hashtable Class | Nemerle.Collections Namespace