|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.plasma.common.Hash
public class Hash
| Constructor Summary | |
|---|---|
Hash(byte[] bytes)
|
|
Hash(String string)
|
|
| Method Summary | |
|---|---|
static byte[] |
byteHash(byte[] data,
byte[] hash)
|
boolean |
equals(Object o)
|
void |
hash(byte[] bytes)
|
void |
hash(String string)
|
int |
hashCode()
|
static int |
intHash(byte[] data)
|
static int |
intHash(byte[] data,
byte[] hash)
|
static int |
intHash(byte[] data,
int key)
|
static long |
longHash(byte[] data)
|
static long |
longHash(byte[] data,
byte[] hash)
|
static long |
longHash(byte[] data,
long key)
|
long |
longHashCode()
|
static void |
main(String[] args)
|
String |
toString()
|
static String |
toString(int hash)
|
static String |
toString(long hash)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Hash(byte[] bytes)
public Hash(String string)
| Method Detail |
|---|
public static int intHash(byte[] data,
int key)
public static int intHash(byte[] data)
public static int intHash(byte[] data,
byte[] hash)
public static long longHash(byte[] data,
long key)
public static long longHash(byte[] data)
public static long longHash(byte[] data,
byte[] hash)
public static byte[] byteHash(byte[] data,
byte[] hash)
public static String toString(int hash)
public static String toString(long hash)
public static void main(String[] args)
throws Exception
Exceptionpublic String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic long longHashCode()
public boolean equals(Object o)
equals in class Objectpublic void hash(byte[] bytes)
public void hash(String string)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||