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