public final class Hash
extends java.lang.Object
| Constructor and Description |
|---|
Hash() |
Hash(byte[] b) |
Hash(byte[] b,
int off,
int len) |
Hash(java.nio.ByteBuffer bb) |
Hash(char c) |
Hash(double d) |
Hash(float f) |
Hash(int i) |
Hash(long l) |
Hash(short s) |
Hash(java.lang.String s) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
Hash |
finish() |
byte[] |
getBytes() |
int |
hashCode() |
void |
reset() |
java.lang.String |
toHexString() |
java.lang.String |
toString() |
Hash |
update(byte b) |
Hash |
update(byte[] b) |
Hash |
update(byte[] b,
int off,
int len) |
Hash |
update(java.nio.ByteBuffer bb) |
Hash |
update(char c) |
Hash |
update(double d) |
Hash |
update(float f) |
Hash |
update(int i) |
Hash |
update(long l) |
Hash |
update(short s) |
Hash |
update(java.lang.String s) |
public Hash()
public Hash(byte[] b)
public Hash(byte[] b,
int off,
int len)
public Hash(java.nio.ByteBuffer bb)
public Hash(java.lang.String s)
public Hash(char c)
public Hash(short s)
public Hash(int i)
public Hash(long l)
public Hash(float f)
public Hash(double d)
public Hash update(byte b)
public Hash update(byte[] b)
public Hash update(byte[] b, int off, int len)
public Hash update(java.nio.ByteBuffer bb)
public Hash update(java.lang.String s)
public Hash update(short s)
public Hash update(char c)
public Hash update(int i)
public Hash update(long l)
public Hash update(float f)
public Hash update(double d)
public Hash finish()
public void reset()
public byte[] getBytes()
public java.lang.String toHexString()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object