Package org.eclnt.jsfserver.util
Class ListSorterOneAttribute<CLASS>
java.lang.Object
org.eclnt.jsfserver.util.ListSorterOneAttribute<CLASS>
- Direct Known Subclasses:
ListSorterOnePropertyByReflection
Utility class for sorting a list of items. Each
attribute is associated with a corresponding IGetValue implementation which
resolved the value for an attribute of the list item.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addGetter
(String attribute, ListSorterOneAttribute.IGetValue getter) boolean
checkIfSortedBy
(String attribute) getList()
boolean
protected void
void
-
Constructor Details
-
ListSorterOneAttribute
-
-
Method Details
-
getList
-
addGetter
-
sortBy
-
getSortedBy
-
checkIfSortedBy
-
isCurrentSortDirectionAscending
public boolean isCurrentSortDirectionAscending() -
processSort
-