it.unimi.di.mg4j.index
Enum CompressionFlags.Coding
java.lang.Object
java.lang.Enum<CompressionFlags.Coding>
it.unimi.di.mg4j.index.CompressionFlags.Coding
- All Implemented Interfaces:
- Serializable, Comparable<CompressionFlags.Coding>
- Enclosing class:
- CompressionFlags
public static enum CompressionFlags.Coding
- extends Enum<CompressionFlags.Coding>
A coding for an index component.
UNARY
public static final CompressionFlags.Coding UNARY
GAMMA
public static final CompressionFlags.Coding GAMMA
DELTA
public static final CompressionFlags.Coding DELTA
SHIFTED_GAMMA
public static final CompressionFlags.Coding SHIFTED_GAMMA
ZETA
public static final CompressionFlags.Coding ZETA
GOLOMB
public static final CompressionFlags.Coding GOLOMB
SKEWED_GOLOMB
public static final CompressionFlags.Coding SKEWED_GOLOMB
ARITHMETIC
public static final CompressionFlags.Coding ARITHMETIC
INTERPOLATIVE
public static final CompressionFlags.Coding INTERPOLATIVE
NIBBLE
public static final CompressionFlags.Coding NIBBLE
values
public static CompressionFlags.Coding[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (CompressionFlags.Coding c : CompressionFlags.Coding.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static CompressionFlags.Coding valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null