public enum HashFunctionEnum extends Enum<HashFunctionEnum>
Enum Constant and Description |
---|
CONSISTENT_HASH_CRC32 |
HASH_CODE |
Modifier and Type | Method and Description |
---|---|
static HashFunctionEnum |
determine(String contextName,
String name) |
static String |
getStringList() |
static HashFunctionEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HashFunctionEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HashFunctionEnum CONSISTENT_HASH_CRC32
public static final HashFunctionEnum HASH_CODE
public static HashFunctionEnum[] values()
for (HashFunctionEnum c : HashFunctionEnum.values()) System.out.println(c);
public static HashFunctionEnum 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 nullpublic static HashFunctionEnum determine(String contextName, String name)
public static String getStringList()
Copyright © 2005–2018. All rights reserved.