Apache Lucene.Net 2.4.0 Class Library API

SupportClass.WeakHashTable Members

SupportClass.WeakHashTable overview

Public Instance Constructors

SupportClass.WeakHashTable Constructor Initializes a new instance of the SupportClass.WeakHashTable class.

Public Instance Properties

Count 
IsFixedSize (inherited from Hashtable)Gets a value indicating whether the Hashtable has a fixed size.
IsReadOnly (inherited from Hashtable)Gets a value indicating whether the Hashtable is read-only.
IsSynchronized (inherited from Hashtable)Gets a value indicating whether access to the Hashtable is synchronized (thread safe).
Item 
Keys Create a temporary copy of the real keys and return that
SyncRoot (inherited from Hashtable)Gets an object that can be used to synchronize access to the Hashtable.
Values (inherited from Hashtable)Gets an ICollection containing the values in the Hashtable.

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 Properties

comparer (inherited from Hashtable)Obsolete. Gets or sets the IComparer to use for the Hashtable.
EqualityComparer (inherited from Hashtable)Gets the IEqualityComparer to use for the Hashtable.
hcp (inherited from Hashtable)Obsolete. Gets or sets the object that can dispense hash codes.

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