public enum DepositState extends Enum<DepositState>
| Enum Constant and Description |
|---|
CONFIRMED |
CONFIRMING |
ORPHAN |
SAFE |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static DepositState |
lookup(String name) |
String |
toString() |
static DepositState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DepositState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DepositState UNKNOWN
public static final DepositState CONFIRMING
public static final DepositState SAFE
public static final DepositState CONFIRMED
public static final DepositState ORPHAN
public static DepositState[] values()
for (DepositState c : DepositState.values()) System.out.println(c);
public static DepositState 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 toString()
toString in class Enum<DepositState>public static DepositState lookup(String name)
Copyright © 2021. All rights reserved.