public class StringType extends SerializableType
| Modifier and Type | Field and Description |
|---|---|
static pt.unl.fct.di.novasys.network.ISerializer<StringType> |
serializer |
| Constructor and Description |
|---|
StringType(String value) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object o) |
StringType |
copy() |
boolean |
equals(Object o) |
String |
getValue()
Gets the value stored by the object.
|
int |
hashCode() |
void |
serialize(io.netty.buffer.ByteBuf out) |
String |
toString() |
deserializeDataType, getDataTypepublic static pt.unl.fct.di.novasys.network.ISerializer<StringType> serializer
public StringType(String value)
public String getValue()
SerializableTypegetValue in class SerializableTypepublic int compareTo(Object o)
public void serialize(io.netty.buffer.ByteBuf out)
throws IOException
serialize in class SerializableTypeIOExceptionpublic StringType copy()
copy in class SerializableTypeCopyright © 2024. All rights reserved.