public enum FloatCodecs extends java.lang.Enum<FloatCodecs> implements FloatCodecInterface, CodecInterface
| Enum Constant and Description |
|---|
INT_DELTA_RECURSIVE
Encoding a list of floats (e.g.
|
INT_RUNLENGTH
Encoding a list of floats (e.g.
|
| Modifier and Type | Method and Description |
|---|---|
static float[] |
decodeArr(byte[] inputData)
Decode a byte array from an input array.
|
static FloatCodecs |
getCodec(int codecId)
Get the codec from an input byte.
|
int |
getCodecId() |
java.lang.String |
getCodecName() |
static FloatCodecs |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FloatCodecs[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfdecode, encodepublic static final FloatCodecs INT_DELTA_RECURSIVE
public static final FloatCodecs INT_RUNLENGTH
public static FloatCodecs[] values()
for (FloatCodecs c : FloatCodecs.values()) System.out.println(c);
public static FloatCodecs 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 static FloatCodecs getCodec(int codecId)
codecId - the integer defining the codingpublic static float[] decodeArr(byte[] inputData)
inputData - the byte array of datapublic java.lang.String getCodecName()
getCodecName in interface CodecInterfacepublic int getCodecId()
getCodecId in interface CodecInterfaceCopyright © 2015-2019 RCSB PDB. All Rights Reserved.