public enum SortableType extends Enum<SortableType>
| Enum Constant and Description |
|---|
SORTABLE_ASC |
SORTABLE_DESC |
UNKNOWN |
UNSORTABLE |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSortable() |
static SortableType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SortableType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Nonnull public static final SortableType UNKNOWN
@Nonnull public static final SortableType UNSORTABLE
@Nonnull public static final SortableType SORTABLE_ASC
@Nonnull public static final SortableType SORTABLE_DESC
public static SortableType[] values()
for (SortableType c : SortableType.values()) System.out.println(c);
public static SortableType 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 boolean isSortable()
Copyright © 2017 etc.to. All rights reserved.