Package org.stellar.sdk.xdr
Class SCMapEntry
java.lang.Object
org.stellar.sdk.xdr.SCMapEntry
- All Implemented Interfaces:
XdrElement
SCMapEntry's original definition in the XDR file is:
struct SCMapEntry { SCVal key; SCVal val; };
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SCMapEntry.SCMapEntryBuilder
builder()
static SCMapEntry
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static SCMapEntry
fromXdrBase64
(String xdr) static SCMapEntry
fromXdrByteArray
(byte[] xdr) getKey()
getVal()
int
hashCode()
void
void
toString()
Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
SCMapEntry
public SCMapEntry() -
SCMapEntry
-
-
Method Details
-
encode
- Specified by:
encode
in interfaceXdrElement
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getKey
-
getVal
-
setKey
-
setVal
-
equals
-
hashCode
public int hashCode() -
toString
-