public static enum BookKeeper.DigestType extends Enum<BookKeeper.DigestType>
Modifier and Type | Method and Description |
---|---|
static BookKeeper.DigestType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BookKeeper.DigestType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BookKeeper.DigestType MAC
public static final BookKeeper.DigestType CRC32
public static BookKeeper.DigestType[] values()
for (BookKeeper.DigestType c : BookKeeper.DigestType.values()) System.out.println(c);
public static BookKeeper.DigestType 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 © 2011-2014 The Apache Software Foundation. All Rights Reserved.