public class SCMapEntry extends java.lang.Object implements XdrElement
struct SCMapEntry { SCVal key; SCVal val; };
Modifier and Type | Class and Description |
---|---|
static class |
SCMapEntry.SCMapEntryBuilder |
Constructor and Description |
---|
SCMapEntry() |
SCMapEntry(SCVal key,
SCVal val) |
Modifier and Type | Method and Description |
---|---|
static SCMapEntry.SCMapEntryBuilder |
builder() |
static SCMapEntry |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static SCMapEntry |
fromXdrBase64(java.lang.String xdr) |
static SCMapEntry |
fromXdrByteArray(byte[] xdr) |
SCVal |
getKey() |
SCVal |
getVal() |
int |
hashCode() |
void |
setKey(SCVal key) |
void |
setVal(SCVal val) |
SCMapEntry.SCMapEntryBuilder |
toBuilder() |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArray
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static SCMapEntry decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public static SCMapEntry fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static SCMapEntry fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException
public static SCMapEntry.SCMapEntryBuilder builder()
public SCMapEntry.SCMapEntryBuilder toBuilder()
public SCVal getKey()
public SCVal getVal()
public void setKey(SCVal key)
public void setVal(SCVal val)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object