Hashtable.contains
Class Overview | Class Members |
This Package |
All Packages
public synchronized boolean contains( Object value )
Parameters
- value
- a value to search for.
Returns
true if some key maps to the
value argument in this hashtable;
false otherwise.
Description
Tests if some key maps into the specified value in this hashtable.
This operation is more expensive than the containsKey
method.
Exceptions
NullPointerException
if the value is null.
See Also
containsKey