|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.cocoon.util.HashUtil
A very efficient java hash algorithm, based on the BuzHash algoritm by Robert Uzgalis (see http://www.serve.net/buz/hash.adt/java.000.html for more information). BuzHash is Copyright (c)1996 Robert Uzgalis, All Rights Reserved. Used with kind permission of the author
Constructor Summary | |
HashUtil()
|
Method Summary | |
static long |
hash(java.lang.String arg)
Hash a String. |
static long |
hash(java.lang.StringBuffer arg)
Hash a String. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HashUtil()
Method Detail |
public static long hash(java.lang.String arg)
arg
- The String to be hashedpublic static long hash(java.lang.StringBuffer arg)
arg
- The String represented by the StringBuffer to be hashed
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |