it.unimi.di.mg4j.index
Enum CompressionFlags.Component

java.lang.Object
  extended by java.lang.Enum<CompressionFlags.Component>
      extended by 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.


Enum Constant Summary
COUNTS
           
FREQUENCIES
           
PAYLOADS
           
POINTERS
           
POSITIONS
           
 
Method Summary
static CompressionFlags.Component valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CompressionFlags.Component[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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