T
- Element typepublic interface ExtendedOrderedEnumerable<T> extends Enumerable<T>
OrderedEnumerable
.Modifier and Type | Method and Description |
---|---|
<TKey> OrderedEnumerable<T> |
createOrderedEnumerable(Function1<T,TKey> keySelector,
Comparator<TKey> comparator,
boolean descending)
Performs a subsequent ordering of the elements in an
OrderedEnumerable according to a key, using a specified
comparator. |
<TKey extends Comparable<TKey>> |
thenBy(Function1<T,TKey> keySelector)
Performs a subsequent ordering of the elements in a sequence in
ascending order according to a key.
|
<TKey> OrderedEnumerable<T> |
thenBy(Function1<T,TKey> keySelector,
Comparator<TKey> comparator)
Performs a subsequent ordering of the elements in a sequence in
ascending order according to a key, using a specified comparator.
|
<TKey extends Comparable<TKey>> |
thenByDescending(Function1<T,TKey> keySelector)
Performs a subsequent ordering of the elements in a sequence in
descending order according to a key.
|
<TKey> OrderedEnumerable<T> |
thenByDescending(Function1<T,TKey> keySelector,
Comparator<TKey> comparator)
Performs a subsequent ordering of the elements in a sequence in
descending order according to a key, using a specified comparator.
|
asQueryable
enumerator
forEach, iterator, spliterator
aggregate, aggregate, aggregate, all, any, any, asEnumerable, average, average, average, average, average, average, average, average, average, average, cast, concat, contains, contains, count, count, defaultIfEmpty, defaultIfEmpty, distinct, distinct, elementAt, elementAtOrDefault, except, except, first, first, firstOrDefault, firstOrDefault, foreach, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupJoin, groupJoin, intersect, intersect, into, join, join, join, last, last, lastOrDefault, lastOrDefault, longCount, longCount, max, max, max, max, max, max, max, max, max, max, max, max, min, min, min, min, min, min, min, min, min, min, min, min, ofType, orderBy, orderBy, orderByDescending, orderByDescending, reverse, select, select, selectMany, selectMany, selectMany, selectMany, sequenceEqual, sequenceEqual, single, single, singleOrDefault, singleOrDefault, skip, skipWhile, skipWhile, sum, sum, sum, sum, sum, sum, sum, sum, sum, sum, take, takeWhile, takeWhile, toList, toLookup, toLookup, toLookup, toLookup, toMap, toMap, toMap, toMap, union, union, where, where, zip
<TKey> OrderedEnumerable<T> createOrderedEnumerable(Function1<T,TKey> keySelector, Comparator<TKey> comparator, boolean descending)
OrderedEnumerable
according to a key, using a specified
comparator.
The functionality provided by this method is like that provided by
thenBy
or thenByDescending
,
depending on whether descending is true or false. They both perform a
subordinate ordering of an already sorted sequence of type
OrderedEnumerable
.
<TKey extends Comparable<TKey>> OrderedEnumerable<T> thenBy(Function1<T,TKey> keySelector)
<TKey> OrderedEnumerable<T> thenBy(Function1<T,TKey> keySelector, Comparator<TKey> comparator)
<TKey extends Comparable<TKey>> OrderedEnumerable<T> thenByDescending(Function1<T,TKey> keySelector)
<TKey> OrderedEnumerable<T> thenByDescending(Function1<T,TKey> keySelector, Comparator<TKey> comparator)
Copyright © 2012-2014 Julian Hyde. All Rights Reserved.