public class DefaultCharHashFunction extends Object implements CharHashFunction, Serializable
| Modifier and Type | Field and Description |
|---|---|
static CharHashFunction |
INSTANCE
Default instance of this hash function.
|
| Modifier | Constructor and Description |
|---|---|
protected |
DefaultCharHashFunction()
Default constructor to be invoked by sub-classes.
|
| Modifier and Type | Method and Description |
|---|---|
int |
hash(char v)
Returns a hash code for a specified char value.
|
public static final CharHashFunction INSTANCE
protected DefaultCharHashFunction()
public int hash(char v)
CharHashFunctionhash in interface CharHashFunctionv - the value for which to return a hash code.Copyright © 2011–2016. All rights reserved.