public static enum DbKey.Type extends java.lang.Enum<DbKey.Type>
Modifier and Type | Field and Description |
---|---|
byte |
code
Branch type code, used as the first byte in a raw database key.
|
Modifier and Type | Method and Description |
---|---|
static DbKey.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DbKey.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DbKey.Type BRANCH
public static final DbKey.Type LEAF
public final byte code
public static DbKey.Type[] values()
for (DbKey.Type c : DbKey.Type.values()) System.out.println(c);
public static DbKey.Type valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2018 Exonum. All rights reserved.