public interface Hash
|Modifier and Type||Method and Description|
Hashes a byte array efficiently.
An incremental version of the hash function, that spreads a pre-calculated hash code, such as one derived from
A helper that calculates the hashcode of an object, choosing the optimal mechanism of hash calculation after considering the type of the object (byte array, String or Object).
int hash(byte payload)
payload- a byte array to hash
int hash(int hashcode)
hashcode- an object's hashcode
int hash(Object o)
o- object to hash
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.