Package java.util
Class Hashtable
Description:
Compares the specified object with this map for equality, as per the definition in the map interface.
Example
Hashtable hashTable1 = new Hashtable();
Hashtable hashTable2 = new Hashtable();
hashTable1.put("1", "h");
hashTable1.put("2", "a");
hashTable1.put("3", "s");
hashTable1.put("4", "h");
hashTable2 = (Hashtable)hashTable1.clone();
if (hashTable1.equals(hashTable2))
Logger.log("hashTable1 equals hashTable2");
The example above compares both hashtables with each other.