public enum SortDir extends Enum<SortDir>
Modifier and Type | Method and Description |
---|---|
abstract <X> Comparator<X> |
comparator(Comparator<X> c) |
SortDir |
reverse() |
static SortDir |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SortDir[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static SortDir[] values()
for (SortDir c : SortDir.values()) System.out.println(c);
public static SortDir 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 abstract <X> Comparator<X> comparator(Comparator<X> c)
Copyright © 2018. All rights reserved.