it.unimi.di.mg4j.index
Enum CompressionFlags.Component
java.lang.Object
java.lang.Enum<CompressionFlags.Component>
it.unimi.di.mg4j.index.CompressionFlags.Component
- All Implemented Interfaces:
- Serializable, Comparable<CompressionFlags.Component>
- Enclosing class:
- CompressionFlags
public static enum CompressionFlags.Component
- extends Enum<CompressionFlags.Component>
A component of the index. To each component, a flag map associates a coding.
FREQUENCIES
public static final CompressionFlags.Component FREQUENCIES
POINTERS
public static final CompressionFlags.Component POINTERS
PAYLOADS
public static final CompressionFlags.Component PAYLOADS
COUNTS
public static final CompressionFlags.Component COUNTS
POSITIONS
public static final CompressionFlags.Component POSITIONS
values
public static CompressionFlags.Component[] 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.Component c : CompressionFlags.Component.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.Component 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