Package org.stellar.sdk.xdr
Class LedgerCloseMeta
java.lang.Object
org.stellar.sdk.xdr.LedgerCloseMeta
LedgerCloseMeta's original definition in the XDR file is:
union LedgerCloseMeta switch (int v) { case 0: LedgerCloseMetaV0 v0; case 1: LedgerCloseMetaV1 v1; };
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionLedgerCloseMeta
(Integer discriminant, LedgerCloseMetaV0 v0, LedgerCloseMetaV1 v1) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static LedgerCloseMeta
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static LedgerCloseMeta
fromXdrBase64
(String xdr) static LedgerCloseMeta
fromXdrByteArray
(byte[] xdr) getV0()
getV1()
int
hashCode()
void
setDiscriminant
(Integer discriminant) void
void
toString()
default String
default byte[]
-
Constructor Details
-
LedgerCloseMeta
public LedgerCloseMeta() -
LedgerCloseMeta
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getDiscriminant
-
getV0
-
getV1
-
setDiscriminant
-
setV0
-
setV1
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-