public enum LiquidityPoolType extends java.lang.Enum<LiquidityPoolType> implements XdrElement
enum LiquidityPoolType
{
LIQUIDITY_POOL_CONSTANT_PRODUCT = 0
};
| Enum Constant and Description |
|---|
LIQUIDITY_POOL_CONSTANT_PRODUCT |
| Modifier and Type | Method and Description |
|---|---|
static LiquidityPoolType |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
static LiquidityPoolType |
fromXdrBase64(java.lang.String xdr) |
static LiquidityPoolType |
fromXdrByteArray(byte[] xdr) |
int |
getValue() |
static LiquidityPoolType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LiquidityPoolType[] |
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 LiquidityPoolType LIQUIDITY_POOL_CONSTANT_PRODUCT
public static LiquidityPoolType[] values()
for (LiquidityPoolType c : LiquidityPoolType.values()) System.out.println(c);
public static LiquidityPoolType 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 LiquidityPoolType 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 LiquidityPoolType fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOExceptionpublic static LiquidityPoolType fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException