Package org.stellar.sdk.xdr
Class StellarValue.StellarValueExt
java.lang.Object
org.stellar.sdk.xdr.StellarValue.StellarValueExt
- Enclosing class:
StellarValue
StellarValueExt's original definition in the XDR file is:
union switch (StellarValueType v)
{
case STELLAR_VALUE_BASIC:
void;
case STELLAR_VALUE_SIGNED:
LedgerCloseValueSignature lcValueSignature;
}
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
ConstructorsConstructorDescriptionStellarValueExt(StellarValueType discriminant, LedgerCloseValueSignature lcValueSignature) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static StellarValue.StellarValueExtdecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic StellarValue.StellarValueExtfromXdrBase64(String xdr) static StellarValue.StellarValueExtfromXdrByteArray(byte[] xdr) inthashCode()voidsetDiscriminant(StellarValueType discriminant) voidsetLcValueSignature(LedgerCloseValueSignature lcValueSignature) toString()default Stringdefault byte[]
-
Constructor Details
-
StellarValueExt
public StellarValueExt() -
StellarValueExt
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getDiscriminant
-
getLcValueSignature
-
setDiscriminant
-
setLcValueSignature
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-