Package de.renebergelt.quiterables
Interface OrderedGroupedQueriable<T>
- All Superinterfaces:
GroupedQueriable<T>,Iterable<Group<T>>,OrderedQueriable<Group<T>>,Queriable<Group<T>>
Represents a grouped Queriable which has been ordered
- Author:
- René Bergelt
-
Method Summary
Modifier and TypeMethodDescriptionthenBy(ItemFunc<Group<T>,Comparable> func)Define a secondary ordering criterion<TComparable>
OrderedGroupedQueriable<T>thenBy(ItemFunc<Group<T>,TComparable> valueFunc, Comparator<TComparable> comparator)Define a secondary ordering criterion using the given ComparatorthenByDescending(ItemFunc<Group<T>,Comparable> func)Define a secondary ordering criterion (descending)<TComparable>
OrderedGroupedQueriable<T>thenByDescending(ItemFunc<Group<T>,TComparable> valueFunc, Comparator<TComparable> comparator)Define a secondary ordering criterion using the given Comparator (descending)Methods inherited from interface de.renebergelt.quiterables.grouping.GroupedQueriable
concat, defaultIfEmpty, distinct, distinct, except, except, get, intersect, intersect, orderBy, orderBy, orderByDescending, orderByDescending, reverse, skip, skipWhile, take, takeWhile, toList, toMap, union, union, whereMethods inherited from interface java.lang.Iterable
forEach, iterator, spliteratorMethods inherited from interface de.renebergelt.quiterables.Queriable
all, average, average, cast, contains, contains, count, count, elementAt, elementAtOrDefault, elementAtOrDefault, exists, first, first, firstOrDefault, firstOrDefault, firstOrDefault, firstOrDefault, group, groupSingle, isEmpty, last, last, lastOrDefault, lastOrDefault, lastOrDefault, max, max, min, min, ofType, select, selectMany, sequenceEquals, sequenceEquals, single, single, singleOrDefault, singleOrDefault, sum, sum, toArray, toMap, toMap, toPrimitiveArray, toSet
-
Method Details
-
thenBy
Description copied from interface:OrderedQueriableDefine a secondary ordering criterion- Specified by:
thenByin interfaceOrderedQueriable<T>- Parameters:
func- Function to retrieve values to order by- Returns:
- Ordered queriable
-
thenBy
<TComparable> OrderedGroupedQueriable<T> thenBy(ItemFunc<Group<T>,TComparable> valueFunc, Comparator<TComparable> comparator)Description copied from interface:OrderedQueriableDefine a secondary ordering criterion using the given Comparator- Specified by:
thenByin interfaceOrderedQueriable<T>- Type Parameters:
TComparable- Type of the values to compare- Parameters:
valueFunc- Function to retrieve values to order bycomparator- Comparator to compare values for ordering- Returns:
- Ordered queriable
-
thenByDescending
Description copied from interface:OrderedQueriableDefine a secondary ordering criterion (descending)- Specified by:
thenByDescendingin interfaceOrderedQueriable<T>- Parameters:
func- Function to retrieve values to order by- Returns:
- Ordered queriable
-
thenByDescending
<TComparable> OrderedGroupedQueriable<T> thenByDescending(ItemFunc<Group<T>,TComparable> valueFunc, Comparator<TComparable> comparator)Description copied from interface:OrderedQueriableDefine a secondary ordering criterion using the given Comparator (descending)- Specified by:
thenByDescendingin interfaceOrderedQueriable<T>- Type Parameters:
TComparable- Type of the values to compare- Parameters:
valueFunc- Function to retrieve values to order bycomparator- Comparator to compare values for ordering- Returns:
- Ordered queriable
-