Microsoft SDK for Java

HashTable.containsKey

Determines whether a key is present in the current list of keys, using a hash code for lookup.

Syntax

public boolean containsKey( Object key )

Parameters

key

The key to check.

Return Value

Returns true if the key is found; otherwise, returns false.

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