Package org.stellar.sdk.xdr
Class LedgerEntry.LedgerEntryExt
java.lang.Object
org.stellar.sdk.xdr.LedgerEntry.LedgerEntryExt
- Enclosing class:
LedgerEntry
LedgerEntryExt's original definition in the XDR file is:
union switch (int v)
{
case 0:
void;
case 1:
LedgerEntryExtensionV1 v1;
}
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static LedgerEntry.LedgerEntryExtdecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic LedgerEntry.LedgerEntryExtfromXdrBase64(String xdr) static LedgerEntry.LedgerEntryExtfromXdrByteArray(byte[] xdr) getV1()inthashCode()voidsetDiscriminant(Integer discriminant) voidtoString()default Stringdefault byte[]
-
Constructor Details
-
LedgerEntryExt
public LedgerEntryExt() -
LedgerEntryExt
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getDiscriminant
-
getV1
-
setDiscriminant
-
setV1
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-