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