public static enum Hash.TYPE extends Enum<Hash.TYPE>
| Modifier and Type | Method and Description |
|---|---|
static Hash.TYPE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Hash.TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Hash.TYPE UNKNOWN
public static final Hash.TYPE SHA1
public static final Hash.TYPE MD5
public static Hash.TYPE[] values()
for (Hash.TYPE c : Hash.TYPE.values()) System.out.println(c);
public static Hash.TYPE 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 nullCopyright © 2017. All rights reserved.