Apache Lucene.Net 2.4.0 Class Library API

SupportClass.WeakHashTable Methods

The methods of the SupportClass.WeakHashTable class are listed below. For a complete list of SupportClass.WeakHashTable class members, see the SupportClass.WeakHashTable Members topic.

Public Instance Methods

Add Wrap each key with a WeakKey and add it to the hashtable
Clear (inherited from Hashtable)Removes all elements from the Hashtable.
Clone (inherited from Hashtable)Creates a shallow copy of the Hashtable.
Contains (inherited from Hashtable)Determines whether the Hashtable contains a specific key.
ContainsKey (inherited from Hashtable)Determines whether the Hashtable contains a specific key.
ContainsValue (inherited from Hashtable)Determines whether the Hashtable contains a specific value.
CopyTo 
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetEnumerator 
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetObjectData (inherited from Hashtable)Implements the ISerializable interface and returns the data needed to serialize the Hashtable.
GetType (inherited from Object)Gets the Type of the current instance.
OnDeserialization (inherited from Hashtable)Implements the ISerializable interface and raises the deserialization event when the deserialization is complete.
Remove (inherited from Hashtable)Removes the element with the specified key from the Hashtable.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
GetHash 
KeyEquals Customize the hashtable lookup process by overriding KeyEquals. KeyEquals will compare both WeakKey to WeakKey and WeakKey to real keys
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

SupportClass.WeakHashTable Class | (global) Namespace