Microsoft SDK for Java

HashTable.getKey

Retrieves the key associated with the specified item.

Syntax

public Object getKey( Object value )

Parameters

value

The value to search for.

Return Value

Returns the key associated with the value.

Remarks

This method scans each element in the hash table and performs a comparison to find the item.

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