Package org.stellar.sdk.xdr
Class LedgerEntryChanges
java.lang.Object
org.stellar.sdk.xdr.LedgerEntryChanges
- All Implemented Interfaces:
XdrElement
LedgerEntryChanges's original definition in the XDR file is:
typedef LedgerEntryChange LedgerEntryChanges<>;
-
Field Summary
Fields inherited from interface org.stellar.sdk.xdr.XdrElement
gson -
Constructor Summary
ConstructorsConstructorDescriptionLedgerEntryChanges(LedgerEntryChange[] LedgerEntryChanges) Creates a newLedgerEntryChangesinstance. -
Method Summary
Modifier and TypeMethodDescriptionstatic LedgerEntryChangesdecode(XdrDataInputStream stream) static LedgerEntryChangesdecode(XdrDataInputStream stream, int maxDepth) voidencode(XdrDataOutputStream stream) Encodes this value to XDR and writes it to the provided stream.booleanstatic LedgerEntryChangesstatic LedgerEntryChangesfromXdrBase64(String xdr) static LedgerEntryChangesfromXdrByteArray(byte[] xdr) Value of theLedgerEntryChangesfield.inthashCode()voidsetLedgerEntryChanges(LedgerEntryChange[] LedgerEntryChanges) Value of theLedgerEntryChangesfield.toJson()Serializes this value to JSON.toString()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
LedgerEntryChanges
public LedgerEntryChanges() -
LedgerEntryChanges
Creates a newLedgerEntryChangesinstance.- Parameters:
LedgerEntryChanges- theLedgerEntryChangesfield value
-
-
Method Details
-
encode
Description copied from interface:XdrElementEncodes this value to XDR and writes it to the provided stream.- Specified by:
encodein interfaceXdrElement- Parameters:
stream- the destination XDR output stream- Throws:
IOException- if an I/O error occurs while writing the value
-
decode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
toJson
Description copied from interface:XdrElementSerializes this value to JSON.- Specified by:
toJsonin interfaceXdrElement- Returns:
- the JSON representation of this value
-
fromJson
-
getLedgerEntryChanges
Value of theLedgerEntryChangesfield.- Returns:
- the
LedgerEntryChangesfield value
-
setLedgerEntryChanges
Value of theLedgerEntryChangesfield.- Parameters:
LedgerEntryChanges- theLedgerEntryChangesfield value
-
equals
-
hashCode
public int hashCode() -
toString
-