public enum IndexMappingLayout extends java.lang.Enum<IndexMappingLayout>
| Enum Constant and Description |
|---|
LOG
Encodes the logarithmic index mapping, specifying the base \(\gamma\) and the index offset.
|
LOG_CUBIC
Encodes the logarithmic index mapping with cubic interpolation between powers of 2, specifying
the base \(\gamma\) and the index offset.
|
LOG_LINEAR
Encodes the logarithmic index mapping with linear interpolation between powers of 2, specifying
the base \(\gamma\) and the index offset.
|
LOG_QUADRATIC
Encodes the logarithmic index mapping with quadratic interpolation between powers of 2,
specifying the base \(\gamma\) and the index offset.
|
LOG_QUARTIC
Encodes the logarithmic index mapping with wuartic interpolation between powers of 2,
specifying the base \(\gamma\) and the index offset.
|
| Modifier and Type | Method and Description |
|---|---|
static IndexMappingLayout |
ofFlag(Flag flag) |
Flag |
toFlag() |
static IndexMappingLayout |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IndexMappingLayout[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IndexMappingLayout LOG
Encoding format:
public static final IndexMappingLayout LOG_LINEAR
Encoding format:
public static final IndexMappingLayout LOG_QUADRATIC
Encoding format:
public static final IndexMappingLayout LOG_CUBIC
Encoding format:
public static final IndexMappingLayout LOG_QUARTIC
Encoding format:
public static IndexMappingLayout[] values()
for (IndexMappingLayout c : IndexMappingLayout.values()) System.out.println(c);
public static IndexMappingLayout valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic final Flag toFlag()
public static IndexMappingLayout ofFlag(Flag flag) throws InvalidFlagException
InvalidFlagException