|
PCJ API Version 1.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbak.pcj.hash.DefaultCharHashFunction
This class provides a default hash function for char values.
| Field Summary | |
static CharHashFunction |
INSTANCE
Default instance of this hash function. |
| Constructor Summary | |
protected |
DefaultCharHashFunction()
Default constructor to be invoked by sub-classes. |
| Method Summary | |
int |
hash(char v)
Returns a hash code for a specified char value. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final CharHashFunction INSTANCE
| Constructor Detail |
protected DefaultCharHashFunction()
| Method Detail |
public int hash(char v)
CharHashFunction
hash in interface CharHashFunctionv - the value for which to return a hash code.
|
PCJ API Version 1.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||