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
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddGetter(String attribute, ListSorterOneAttribute.IGetValue getter) booleancheckIfSortedBy(String attribute) getList()booleanprotected voidvoid
-
Constructor Details
-
ListSorterOneAttribute
-
-
Method Details
-
getList
-
addGetter
-
sortBy
-
getSortedBy
-
checkIfSortedBy
-
isCurrentSortDirectionAscending
public boolean isCurrentSortDirectionAscending() -
processSort
-