Package org.stellar.sdk.xdr
Class LedgerKey.LedgerKeyContractCode
java.lang.Object
org.stellar.sdk.xdr.LedgerKey.LedgerKeyContractCode
- All Implemented Interfaces:
XdrElement
- Enclosing class:
LedgerKey
LedgerKeyContractCode's original definition in the XDR file is:
struct { Hash hash; }
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
fromXdrBase64
(String xdr) fromXdrByteArray
(byte[] xdr) getHash()
int
hashCode()
void
toString()
Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
LedgerKeyContractCode
public LedgerKeyContractCode() -
LedgerKeyContractCode
-
-
Method Details
-
encode
- Specified by:
encode
in interfaceXdrElement
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getHash
-
setHash
-
equals
-
hashCode
public int hashCode() -
toString
-