IHashtable

Description

The IHashtable interface is a set of interrelated keys and values based on key hash code.

Inheritance Hierarchy

          IEnumerable

          ICollection

          IDictionary

          IHashtable

Comments

When an element is added to the IHashtable collection, it is placed to the certain segment depending on the key hash code. The further key search is executed only in the certain segment with using of the key hash code. Thus, it strongly reduces the number of operations of key comparison, which is required to find the element.

Properties inherited from IDictionary

  Property name Brief description
Item The Item property determines value of glossary element.
Keys The Keys property returns the collection of dictionary keys.
Values The Values property returns the collection of dictionary element values.

Properties inherited from ICollection

  Property name Brief description
Count The Count property returns the number of array elements.

Methods

  Method name Brief description
Clone The Clone method creates a copy of hash table.
ContainsKey The ContainsKey method checks if there is an element with the specified key.
ContainsValue The ContainsValue method checks if there is an element with the specified value.

Methods inherited from IDictionary

  Method name Brief description
Add The Add method adds an element to glossary.
Clear The Clear method clears the glossary.
Contains The Contains method checks if the element with the Key key exists.
Remove The Remove method removes element with the Key key.

Methods inherited from ICollection

  Method name Brief description
CopyTo The CopyTo method copies the collection into an array.

See also:

Collections Assembly Interfaces