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
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
ConstructorDescriptionStellarValueExt
(StellarValueType discriminant, LedgerCloseValueSignature lcValueSignature) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static StellarValue.StellarValueExt
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static StellarValue.StellarValueExt
fromXdrBase64
(String xdr) static StellarValue.StellarValueExt
fromXdrByteArray
(byte[] xdr) int
hashCode()
void
setDiscriminant
(StellarValueType discriminant) void
setLcValueSignature
(LedgerCloseValueSignature lcValueSignature) toString()
default String
default 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
-