public enum CollectionItemsOrdering extends Enum<CollectionItemsOrdering>
| Enum Constant and Description |
|---|
byCreationDate |
byUpdateDate |
| Modifier and Type | Method and Description |
|---|---|
static String[] |
descriptions() |
Comparator<IItems.ItemMeta> |
getComparator() |
static CollectionItemsOrdering |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CollectionItemsOrdering[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CollectionItemsOrdering byCreationDate
public static final CollectionItemsOrdering byUpdateDate
public static CollectionItemsOrdering[] values()
for (CollectionItemsOrdering c : CollectionItemsOrdering.values()) System.out.println(c);
public static CollectionItemsOrdering 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 String[] descriptions()
public Comparator<IItems.ItemMeta> getComparator()
Copyright © 2008–2015 Tigase. All rights reserved.