com.aelitis.azureus.core.util
Class HashCodeUtils
java.lang.Object
com.aelitis.azureus.core.util.HashCodeUtils
public final class HashCodeUtils
- extends java.lang.Object
- Author:
- MjrTom Feb 24, 2006
This is for utilities for calculating custom object hashCode() values
Method Summary |
static int |
hashCode(byte[] array)
bob jenkin's hash function |
static int |
hashCode(char[] array)
|
static int |
hashMore(int hash,
boolean[] more)
|
static int |
hashMore(int hash,
int more)
|
static int |
hashMore(int hash,
long more)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HashCodeUtils
public HashCodeUtils()
hashMore
public static final int hashMore(int hash,
int more)
hashMore
public static final int hashMore(int hash,
long more)
hashMore
public static final int hashMore(int hash,
boolean[] more)
hashCode
public static final int hashCode(byte[] array)
- bob jenkin's hash function
hashCode
public static final int hashCode(char[] array)