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

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


Enum Constant Summary
ARITHMETIC
           
DELTA
           
GAMMA
           
GOLOMB
           
INTERPOLATIVE
           
NIBBLE
           
SHIFTED_GAMMA
           
SKEWED_GOLOMB
           
UNARY
           
ZETA
           
 
Method Summary
static CompressionFlags.Coding valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CompressionFlags.Coding[] 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

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

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