Microsoft SDK for Java

HashTable.HashTable

Creates a HashTable object.

Syntax

public HashTable()

public HashTable( int minBuckets )

public HashTable( int minBuckets, float maxAverageDepthT )

Parameters

minBuckets

The minimum number of buckets in the hash table.

maxAverageDepthT

The maximum average depth in all buckets before more buckets are added.

Remarks

By default, the bucket has a maximum average depth of 2.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.