public enum EncodingID extends java.lang.Enum<EncodingID>
Enum Constant and Description |
---|
BETA
http://en.wikipedia.org/wiki/Beta_Code
|
BYTE_ARRAY_LEN
A byte array serialized as [length][elements]
|
BYTE_ARRAY_STOP
A byte array serialized as [elements][stop]
|
EXTERNAL
Shove the data into a byte array for compressing later with a generic compressor like GZIP.
|
GAMMA
http://en.wikipedia.org/wiki/Elias_gamma_coding
|
GOLOMB
'naf said: http://en.wikipedia.org/wiki/Golomb_coding
|
GOLOMB_RICE
A variant of GOLOMB encoding: http://en.wikipedia.org/wiki/Golomb_coding
|
HUFFMAN
http://en.wikipedia.org/wiki/Huffman_coding
|
NULL
"Do nothing" encoding.
|
SUBEXPONENTIAL
Subexponential codes, see the CRAM specs for details.
|
Modifier and Type | Method and Description |
---|---|
static EncodingID |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EncodingID[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EncodingID NULL
public static final EncodingID EXTERNAL
public static final EncodingID GOLOMB
public static final EncodingID HUFFMAN
public static final EncodingID BYTE_ARRAY_LEN
public static final EncodingID BYTE_ARRAY_STOP
public static final EncodingID BETA
public static final EncodingID SUBEXPONENTIAL
public static final EncodingID GOLOMB_RICE
public static final EncodingID GAMMA
public static EncodingID[] values()
for (EncodingID c : EncodingID.values()) System.out.println(c);
public static EncodingID 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 null