|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.util.Crc64
public class Crc64
Crc64 hash
| Constructor Summary | |
|---|---|
Crc64()
|
|
| Method Summary | |
|---|---|
static long |
generate(long crc,
byte ch)
Calculates the next crc value. |
static long |
generate(long crc,
byte[] buffer,
int offset,
int len)
Calculates CRC from a char buffer |
static long |
generate(long crc,
char[] buffer,
int offset,
int len)
Calculates CRC from a char buffer |
static long |
generate(long crc,
long value)
Calculates CRC from a long |
static long |
generate(long crc,
java.lang.String value)
Calculates CRC from a string. |
static long |
generate(java.lang.String value)
Calculates CRC from a string. |
static long |
next(long crc,
int ch)
Calculates the next crc value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Crc64()
| Method Detail |
|---|
public static long generate(java.lang.String value)
public static long generate(long crc,
java.lang.String value)
public static long generate(long crc,
char[] buffer,
int offset,
int len)
public static long generate(long crc,
byte[] buffer,
int offset,
int len)
public static long generate(long crc,
long value)
public static long generate(long crc,
byte ch)
public static long next(long crc,
int ch)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||