Package gaiasky.util.gdx.contrib.utils
Class Hash
- java.lang.Object
-
- gaiasky.util.gdx.contrib.utils.Hash
-
public final class Hash extends java.lang.Object
* General Purpose Hash Function Algorithms Library * * Author: Arash Partow - 2002 * URL: http://www.partow.net * URL: http://www.partow.net/programming/hashfunctions/index.html * * Copyright notice: * Free use of the General Purpose Hash Function Algorithms Library is * permitted under the guidelines and in accordance with the most current * version of the Common Public License. * http://www.opensource.org/licenses/cpl1.0.php * * *************************************************************************
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static long
APHash(java.lang.String str)
static long
BKDRHash(java.lang.String str)
static long
BPHash(java.lang.String str)
static long
DEKHash(java.lang.String str)
static long
DJBHash(java.lang.String str)
static long
ELFHash(java.lang.String str)
static long
FNVHash(java.lang.String str)
static long
JSHash(java.lang.String str)
static long
PJWHash(java.lang.String str)
static long
RSHash(java.lang.String str)
static long
SDBMHash(java.lang.String str)
-
-
-
Method Detail
-
RSHash
public static long RSHash(java.lang.String str)
-
JSHash
public static long JSHash(java.lang.String str)
-
PJWHash
public static long PJWHash(java.lang.String str)
-
ELFHash
public static long ELFHash(java.lang.String str)
-
BKDRHash
public static long BKDRHash(java.lang.String str)
-
SDBMHash
public static long SDBMHash(java.lang.String str)
-
DJBHash
public static long DJBHash(java.lang.String str)
-
DEKHash
public static long DEKHash(java.lang.String str)
-
BPHash
public static long BPHash(java.lang.String str)
-
FNVHash
public static long FNVHash(java.lang.String str)
-
APHash
public static long APHash(java.lang.String str)
-
-