Package java.util
Class Hashtable

Public Method hashCode

int hashCode()

Overrides:

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Returns the hash code value for this map as per the definition in the map interface.

Example

   Hashtable hashTable = new Hashtable();
   hashTable.put("1", "h");
   hashTable.put("2", "a");
   hashTable.put("3", "s");
   hashTable.put("4", "h");

   Logger.log("" + hashTable.hashCode());

The example above writes the hashcode to the logger.