public enum DataTypes extends Enum<DataTypes>
| Enum Constant and Description |
|---|
BOOLEAN |
BYTE |
BYTEARRAY |
DOUBLE |
FLOAT |
INTEGER |
LONG |
SHORT |
STRING |
| Modifier and Type | Field and Description |
|---|---|
static pt.unl.fct.di.novasys.network.ISerializer<DataTypes> |
serializer
Static serializer to serialize a data type into a ByteBuf.
|
| Modifier and Type | Method and Description |
|---|---|
static DataTypes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataTypes BOOLEAN
public static final DataTypes BYTE
public static final DataTypes DOUBLE
public static final DataTypes FLOAT
public static final DataTypes INTEGER
public static final DataTypes LONG
public static final DataTypes STRING
public static final DataTypes SHORT
public static final DataTypes BYTEARRAY
public static pt.unl.fct.di.novasys.network.ISerializer<DataTypes> serializer
public static DataTypes[] values()
for (DataTypes c : DataTypes.values()) System.out.println(c);
public static DataTypes valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2024. All rights reserved.