public enum HashingScheme extends Enum<HashingScheme>
Enum Constant and Description |
---|
JavaStringHash
Use regural
String.hashCode() |
Murmur3_32Hash
Use Murmur3 hashing function.
|
Modifier and Type | Method and Description |
---|---|
static HashingScheme |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HashingScheme[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HashingScheme JavaStringHash
String.hashCode()
public static final HashingScheme Murmur3_32Hash
public static HashingScheme[] values()
for (HashingScheme c : HashingScheme.values()) System.out.println(c);
public static HashingScheme valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null