|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.dna.common.util.HashCode
public class HashCode
Utilities for easily computing hash codes. The algorithm should generally produce good distributions for use in hash-based containers or collections, but as expected does always result in repeatable hash codes given the inputs.
Constructor Summary | |
---|---|
HashCode()
|
Method Summary | |
---|---|
static int |
compute(java.lang.Object... objects)
Compute a combined hash code from the supplied objects. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HashCode()
Method Detail |
---|
public static int compute(java.lang.Object... objects)
objects
- the objects that should be used to compute the hash code
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |