public static enum GroupSerializer.Precision extends java.lang.Enum<GroupSerializer.Precision>
Modifier and Type | Method and Description |
---|---|
abstract byte[] |
asByteArray(double d) |
abstract byte[] |
asByteArray(long l) |
static GroupSerializer.Precision |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GroupSerializer.Precision[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GroupSerializer.Precision FLOAT_32
public static final GroupSerializer.Precision FLOAT_64
public static GroupSerializer.Precision[] values()
for (GroupSerializer.Precision c : GroupSerializer.Precision.values()) System.out.println(c);
public static GroupSerializer.Precision valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic abstract byte[] asByteArray(double d)
public abstract byte[] asByteArray(long l)