public enum IndexOrder extends Enum<IndexOrder>
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static IndexOrder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IndexOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IndexOrder ASC
public static final IndexOrder DESC
public static IndexOrder[] values()
for (IndexOrder c : IndexOrder.values()) System.out.println(c);
public static IndexOrder 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 nullpublic int getValue()
Copyright © 2010–2020. All rights reserved.