com.healthmarketscience.jackcess.impl
Enum IndexData.EntryType

java.lang.Object
  extended by java.lang.Enum<IndexData.EntryType>
      extended by com.healthmarketscience.jackcess.impl.IndexData.EntryType
All Implemented Interfaces:
Serializable, Comparable<IndexData.EntryType>
Enclosing class:
IndexData

public static enum IndexData.EntryType
extends Enum<IndexData.EntryType>

type attributes for Entries which simplify comparisons


Enum Constant Summary
ALWAYS_FIRST
          comparable type indicating this Entry should always compare less than valid RowIds
ALWAYS_LAST
          comparable type indicating this Entry should always compare greater than valid RowIds
FIRST_VALID
          comparable type indicating this Entry should always compare less than other valid entries with equal entryBytes
LAST_VALID
          comparable type indicating this Entry should always compare greater than other valid entries with equal entryBytes
NORMAL
          comparable type indicating this RowId should always compare normally
 
Method Summary
static IndexData.EntryType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IndexData.EntryType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ALWAYS_FIRST

public static final IndexData.EntryType ALWAYS_FIRST
comparable type indicating this Entry should always compare less than valid RowIds


FIRST_VALID

public static final IndexData.EntryType FIRST_VALID
comparable type indicating this Entry should always compare less than other valid entries with equal entryBytes


NORMAL

public static final IndexData.EntryType NORMAL
comparable type indicating this RowId should always compare normally


LAST_VALID

public static final IndexData.EntryType LAST_VALID
comparable type indicating this Entry should always compare greater than other valid entries with equal entryBytes


ALWAYS_LAST

public static final IndexData.EntryType ALWAYS_LAST
comparable type indicating this Entry should always compare greater than valid RowIds

Method Detail

values

public static IndexData.EntryType[] 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 (IndexData.EntryType c : IndexData.EntryType.values())
    System.out.println(c);

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

valueOf

public static IndexData.EntryType 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


Copyright © 2005–2017 Health Market Science. All rights reserved.