Package java.util
Class Hashtable
Description:
Tests if some key maps into the specified value in this hashtable. This method is identical in functionality to containsValue.
Example
Hashtable hashTable = new Hashtable();
hashTable.put("1", "h");
hashTable.put("2", "a");
hashTable.put("3", "s");
hashTable.put("4", "h");
if (hashTable.contains("h"))
Logger.log("The hashtable contains a h");
The example above checks if the hashtable contains a h string.