Package java.lang
Class Integer

Public Method hashCode

int hashCode()

Overrides:

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Returns a hashcode for this Integer.

Example

   Integer hc = new Integer("10");
   int hashCode = hc.hashCode();
   Logger.log("hashcode: " + hashCode);

The example above returns the hashcode value and writes it to the logger.