choco.kernel.common
Class HashCoding
java.lang.Object
choco.kernel.common.HashCoding
public class HashCoding
- extends Object
Field Summary |
static int |
SEED
An initial value for a hashCode , to which is added contributions
from fields. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SEED
public static final int SEED
- An initial value for a
hashCode
, to which is added contributions
from fields. Using a non-zero value decreases collisons of hashCode
values.
- See Also:
- Constant Field Values
HashCoding
public HashCoding()
hashCodeMe
public static int hashCodeMe(Object field)
hashCodeMe
public static int hashCodeMe(Object[] fields)
hashCodeMe
public static int hashCodeMe(long field)
Copyright © 2012. All Rights Reserved.