View Javadoc

    1   package sharin.unlinq;
    2
    3   import java.util.Comparator;
    4
    5   public interface OrderedEnumerable<T> extends Enumerable<T> {
    6
    7       public <K> OrderedEnumerable<T> thenBy(Func<T, K> keySelector);
    8
    9       public <K> OrderedEnumerable<T> thenBy(Func<T, K> keySelector,
    10              Comparator<K> comparator);
    11
    12      public <K> OrderedEnumerable<T> thenByDescending(Func<T, K> keySelector);
    13
    14      public <K> OrderedEnumerable<T> thenByDescending(Func<T, K> keySelector,
    15              Comparator<K> comparator);
    16  }