Maven module :un.api : api-common :
Class :
un.api.collection.Hasher
Extends/Implements : -
Subclasses : -
Variables :
DEFAULT,
IDENTITY
Functions :
getHash,
equals
public Hasher
DEFAULT
public Hasher
IDENTITY
int
getHash (Object candidate)
boolean
equals (Object a, Object b)
More optimized hashes could be build when various conditions are met.
Used by hash collections to compute hash value and equality between objects.
author Johann Sorel