public enum Hash extends Enum<Hash>
| Modifier and Type | Method and Description |
|---|---|
String |
getAlgorithm() |
int |
getByteLength() |
static Hash |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Hash[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static Hash[] values()
for (Hash c : Hash.values()) System.out.println(c);
public static 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 nullpublic String getAlgorithm()
public int getByteLength()
Copyright © 2014–2016 Nikolche Mihajlovski and contributors. All rights reserved.