Enum IndexData.EntryType
- java.lang.Object
-
- java.lang.Enum<IndexData.EntryType>
-
- 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
Enum Constants Enum Constant Description ALWAYS_FIRSTcomparable type indicating this Entry should always compare less than valid RowIdsALWAYS_LASTcomparable type indicating this Entry should always compare greater than valid RowIdsFIRST_VALIDcomparable type indicating this Entry should always compare less than other valid entries with equal entryBytesLAST_VALIDcomparable type indicating this Entry should always compare greater than other valid entries with equal entryBytesNORMALcomparable type indicating this RowId should always compare normally
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IndexData.EntryTypevalueOf(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.
-
-
-
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 nameNullPointerException- if the argument is null
-
-