public class CRDTTypeKeyPair extends Object implements Comparable<CRDTTypeKeyPair>
| Modifier and Type | Field and Description |
|---|---|
static pt.unl.fct.di.novasys.network.ISerializer<CRDTTypeKeyPair> |
serializer
Static method to serialize (and deserialize) and arbitrary CRDType object.
|
| Constructor and Description |
|---|
CRDTTypeKeyPair(String key,
CRDTsTypes type) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(CRDTTypeKeyPair o) |
boolean |
equals(Object other) |
String |
getKey() |
CRDTsTypes |
getType() |
int |
hashCode() |
void |
serialize(io.netty.buffer.ByteBuf in) |
String |
toString() |
public static pt.unl.fct.di.novasys.network.ISerializer<CRDTTypeKeyPair> serializer
public CRDTTypeKeyPair(String key, CRDTsTypes type)
public String getKey()
public CRDTsTypes getType()
public int compareTo(CRDTTypeKeyPair o)
compareTo in interface Comparable<CRDTTypeKeyPair>public void serialize(io.netty.buffer.ByteBuf in)
throws IOException
IOExceptionCopyright © 2024. All rights reserved.