AbstractHashedMap<K,V>.hash(Object key) Method

Definition

Gets the hash code for the key specified. This implementation uses the additional hashing routine from JDK1.4. Subclasses can override this to return alternate hash codes.

protected int hash(Object key)

Parameters

key
java.lang.Object

the key to get a hash code for

Returns

int

the hash code

Applies to