it.unimi.dsi.archive4j
Enum SequentialBitstreamArchive.CompressionFlags.Component

java.lang.Object
  extended by java.lang.Enum<SequentialBitstreamArchive.CompressionFlags.Component>
      extended by it.unimi.dsi.archive4j.SequentialBitstreamArchive.CompressionFlags.Component
All Implemented Interfaces:
Serializable, Comparable<SequentialBitstreamArchive.CompressionFlags.Component>
Enclosing class:
SequentialBitstreamArchive.CompressionFlags

public static enum SequentialBitstreamArchive.CompressionFlags.Component
extends Enum<SequentialBitstreamArchive.CompressionFlags.Component>

Each component of the data file or frequency file.


Enum Constant Summary
COUNTS
          The counts in the summary (actually, reverse-order gaps).
DOCLENGTHS
          The document lengths (in words).
SIZES
          The sizes of summaries (the number of terms/count pairs in the summary).
TERMS
          The terms in the summary (actually, the term gaps).
 
Method Summary
static SequentialBitstreamArchive.CompressionFlags.Component valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SequentialBitstreamArchive.CompressionFlags.Component[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SIZES

public static final SequentialBitstreamArchive.CompressionFlags.Component SIZES
The sizes of summaries (the number of terms/count pairs in the summary).


DOCLENGTHS

public static final SequentialBitstreamArchive.CompressionFlags.Component DOCLENGTHS
The document lengths (in words).


TERMS

public static final SequentialBitstreamArchive.CompressionFlags.Component TERMS
The terms in the summary (actually, the term gaps).


COUNTS

public static final SequentialBitstreamArchive.CompressionFlags.Component COUNTS
The counts in the summary (actually, reverse-order gaps).

Method Detail

values

public static final SequentialBitstreamArchive.CompressionFlags.Component[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(SequentialBitstreamArchive.CompressionFlags.Component c : SequentialBitstreamArchive.CompressionFlags.Component.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static SequentialBitstreamArchive.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