Hashtable.Rehash Method

Definition

Increases the capacity of and internally reorganizes this hashtable, in order to accommodate and access its entries more efficiently.

[Android.Runtime.Register("rehash", "()V", "GetRehashHandler")]
protected virtual void Rehash ();
[<Android.Runtime.Register("rehash", "()V", "GetRehashHandler")>]
abstract member Rehash : unit -> unit
override this.Rehash : unit -> unit
Attributes

Remarks

Increases the capacity of and internally reorganizes this hashtable, in order to accommodate and access its entries more efficiently. This method is called automatically when the number of keys in the hashtable exceeds this hashtable's capacity and load factor.

Java documentation for java.util.Hashtable.rehash().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to