| Modifier and Type | Class and Description |
|---|---|
static class |
StringPair.Factory |
| Modifier and Type | Field and Description |
|---|---|
private EncodedString |
s1 |
private EncodedString |
s2 |
BOOLEAN_ENCODED_SIZE, BYTE_ENCODED_SIZE, DOUBLE_ENCODED_SIZE, FLOAT_ENCODED_SIZE, INT_ENCODED_SIZE, LONG_ENCODED_SIZE, SHORT_ENCODED_SIZE| Constructor and Description |
|---|
StringPair() |
StringPair(EncodedString s1,
EncodedString s2) |
| Modifier and Type | Method and Description |
|---|---|
void |
decode(Decoder decoder)
Decodes the content of this object
|
void |
encode(Encoder encoder)
Encodes the content of this object
|
boolean |
equals(Object obj) |
int |
getEncodableClassId()
Returns a unique class identifier.
|
int |
getEncodedSize()
Returns the size of the byte array that results from the encoding of this object.
|
int |
hashCode() |
String |
toString() |
private EncodedString s1
private EncodedString s2
public StringPair()
public StringPair(EncodedString s1, EncodedString s2)
public int getEncodableClassId()
EncodablegetEncodableClassId in interface Encodablepublic int getEncodedSize()
EncodablegetEncodedSize in interface Encodablepublic void encode(Encoder encoder) throws Exception
Encodablepublic void decode(Decoder decoder) throws Exception
EncodableCopyright © 2022 ScalAgent D.T.. All rights reserved.