Interface ExtendedOrderedEnumerable<T>

Type Parameters:
T - Element type
All Superinterfaces:
Enumerable<T>, ExtendedEnumerable<T>, Iterable<T>, RawEnumerable<T>
All Known Subinterfaces:
OrderedEnumerable<T>
All Known Implementing Classes:
AbstractEnumerable, AbstractEnumerable2, AbstractQueryable, AbstractTableQueryable, BaseQueryable, CassandraTable.CassandraQueryable, DefaultEnumerable, ElasticsearchTable.ElasticsearchQueryable, GeodeTable.GeodeQueryable, InnodbTable.InnodbQueryable, Interpreter, MemoryEnumerable, MongoTable.MongoQueryable, QueryableDefaults.NonLeafReplayableQueryable, QueryableDefaults.ReplayableQueryable, QueryProviderImpl.QueryableImpl, ResultSetEnumerable, SpatialTypeFunctions.GridEnumerable, SplunkQuery

public interface ExtendedOrderedEnumerable<T> extends Enumerable<T>
Extension methods for OrderedEnumerable.
  • Method Details

    • createOrderedEnumerable

      <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.

      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.

    • thenBy

      <TKey extends Comparable<TKey>> OrderedEnumerable<T> thenBy(Function1<T,TKey> keySelector)
      Performs a subsequent ordering of the elements in a sequence in ascending order according to a key.
    • thenBy

      <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.
    • thenByDescending

      <TKey extends Comparable<TKey>> OrderedEnumerable<T> thenByDescending(Function1<T,TKey> keySelector)
      Performs a subsequent ordering of the elements in a sequence in descending order according to a key.
    • thenByDescending

      <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.