public enum SortMethod extends Enum<SortMethod>
| Enum Constant and Description |
|---|
LEXICOGRAPH |
QUASI_LEXICOGRAPH |
SORT_METHOD_INVALID |
| Modifier and Type | Method and Description |
|---|---|
static SortMethod |
fromInt(int e) |
static int |
toInt(int ordinal) |
static SortMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SortMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SortMethod LEXICOGRAPH
public static final SortMethod QUASI_LEXICOGRAPH
public static final SortMethod SORT_METHOD_INVALID
public static SortMethod[] values()
for (SortMethod c : SortMethod.values()) System.out.println(c);
public static SortMethod 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 static SortMethod fromInt(int e)
public static int toInt(int ordinal)
Copyright © 2021. All rights reserved.