List of utility methods to do Hash Code Calculate
int | hash(int aSeed, Object aObject) Hash code for an Object. int result = aSeed; if (aObject == null) { result = hash(result, 0); } else if (!isArray(aObject)) { result = hash(result, aObject.hashCode()); } else { int length = Array.getLength(aObject); for (int idx = 0; idx < length; ++idx) { ... |
int | hashCodeFor(Object... aFields) Return the hash code in a single step, using all significant fields passed in an Object sequence parameter. int result = HASH_SEED; for (Object field : aFields) { result = hash(result, field); return result; |