public enum SortDirectionEnum extends Enum<SortDirectionEnum>
Enumeration of sort direction
Copyright 2010 (C) by Martin Ganserer
| Modifier and Type | Method and Description |
|---|---|
static SortDirectionEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SortDirectionEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SortDirectionEnum NONE
public static final SortDirectionEnum ASC
public static final SortDirectionEnum DESC
public static SortDirectionEnum[] values()
for (SortDirectionEnum c : SortDirectionEnum.values()) System.out.println(c);
public static SortDirectionEnum 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 © 2018. All rights reserved.