public static enum ISearchIndex.SearchIndexIntervalConvention extends Enum<ISearchIndex.SearchIndexIntervalConvention>
Enum Constant and Description |
---|
CLOSED_OPEN
(default case)
if tab[i] <= x < tab[i + 1], the integer returned is i
if x < tab[0], the integer returned is -1
if x >= tab[numberOfPoints-1], the integer returned is numberOfPoints-1
|
OPEN_CLOSED
if tab[i] < x <= tab[i + 1], the integer returned is i
if x <= tab[0], the integer returned is -1
if x > tab[numberOfPoints-1], the integer returned is numberOfPoints-1
|
Modifier and Type | Method and Description |
---|---|
static ISearchIndex.SearchIndexIntervalConvention |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ISearchIndex.SearchIndexIntervalConvention[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ISearchIndex.SearchIndexIntervalConvention CLOSED_OPEN
public static final ISearchIndex.SearchIndexIntervalConvention OPEN_CLOSED
public static ISearchIndex.SearchIndexIntervalConvention[] values()
for (ISearchIndex.SearchIndexIntervalConvention c : ISearchIndex.SearchIndexIntervalConvention.values()) System.out.println(c);
public static ISearchIndex.SearchIndexIntervalConvention valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2023 CNES. All rights reserved.