public enum ClaimAtomType extends java.lang.Enum<ClaimAtomType> implements XdrElement
enum ClaimAtomType
{
CLAIM_ATOM_TYPE_V0 = 0,
CLAIM_ATOM_TYPE_ORDER_BOOK = 1,
CLAIM_ATOM_TYPE_LIQUIDITY_POOL = 2
};
| Enum Constant and Description |
|---|
CLAIM_ATOM_TYPE_LIQUIDITY_POOL |
CLAIM_ATOM_TYPE_ORDER_BOOK |
CLAIM_ATOM_TYPE_V0 |
| Modifier and Type | Method and Description |
|---|---|
static ClaimAtomType |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
static ClaimAtomType |
fromXdrBase64(java.lang.String xdr) |
static ClaimAtomType |
fromXdrByteArray(byte[] xdr) |
int |
getValue() |
static ClaimAtomType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClaimAtomType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOftoXdrBase64, toXdrByteArraypublic static final ClaimAtomType CLAIM_ATOM_TYPE_V0
public static final ClaimAtomType CLAIM_ATOM_TYPE_ORDER_BOOK
public static final ClaimAtomType CLAIM_ATOM_TYPE_LIQUIDITY_POOL
public static ClaimAtomType[] values()
for (ClaimAtomType c : ClaimAtomType.values()) System.out.println(c);
public static ClaimAtomType 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 nullpublic int getValue()
public static ClaimAtomType decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOExceptionpublic void encode(XdrDataOutputStream stream) throws java.io.IOException
encode in interface XdrElementjava.io.IOExceptionpublic static ClaimAtomType fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOExceptionpublic static ClaimAtomType fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException