## Uses of Interface
com.hazelcast.jet.function.DistributedComparator

- Packages that use DistributedComparator
  Package | Description
  --- | ---
  com.hazelcast.jet.aggregate | Contains `AggregateOperation` and several its variants, as well as a builder object for the aggregate operations.
  com.hazelcast.jet.function | Serializable and exception-declaring variants of functional interfaces from `java.util.function`.

- - ### Uses of DistributedComparator in com.hazelcast.jet.aggregate

    Methods in com.hazelcast.jet.aggregate with parameters of type DistributedComparator
    Modifier and Type | Method and Description
    --- | ---
    `static <T> AggregateOperation1<T,PriorityQueue<T>,List<T>>` | AggregateOperations.`bottomN(int n, DistributedComparator<? super T> comparator)` Returns an aggregate operation that computes the bottom `n` items calculated according to the given `comparator`.
    `static <T> AggregateOperation1<T,MutableReference<T>,T>` | AggregateOperations.`maxBy(DistributedComparator<? super T> comparator)` Returns an aggregate operation that computes the maximal item according to the given `comparator`.
    `static <T> AggregateOperation1<T,MutableReference<T>,T>` | AggregateOperations.`minBy(DistributedComparator<? super T> comparator)` Returns an aggregate operation that computes the minimal item according to the given `comparator`.
    `static <T> AggregateOperation1<T,ArrayList<T>,List<T>>` | AggregateOperations.`sorting(DistributedComparator<? super T> comparator)` Returns an aggregate operation that accumulates all input items into an `ArrayList` and sorts it with the given comparator.
    `static <T> AggregateOperation1<T,PriorityQueue<T>,List<T>>` | AggregateOperations.`topN(int n, DistributedComparator<? super T> comparator)` Returns an aggregate operation that computes the top `n` items calculated according to the given `comparator`.

  - ### Uses of DistributedComparator in com.hazelcast.jet.function

    Methods in com.hazelcast.jet.function that return DistributedComparator
    Modifier and Type | Method and Description
    --- | ---
    `static <T,U extends Comparable<? super U>> DistributedComparator<T>` | DistributedComparator.`comparing(DistributedFunction<? super T,? extends U> toKeyFn)` `Serializable` variant of `java.util.Comparator#comparing(Function)`.
    `static <T,U> DistributedComparator<T>` | DistributedComparator.`comparing(DistributedFunction<? super T,? extends U> toKeyFn, DistributedComparator<? super U> keyComparator)` `Serializable` variant of `java.util.Comparator#comparing(Function, Comparator)`.
    `static <T,U extends Comparable<? super U>> DistributedComparator<T>` | DistributedComparator.`comparing(Function<? super T,? extends U> toKeyFn)` `Serializable` variant of `java.util.Comparator#comparing(Function)`.
    `static <T,U> DistributedComparator<T>` | DistributedComparator.`comparing(Function<? super T,? extends U> toKeyFn, Comparator<? super U> keyComparator)` `Serializable` variant of `java.util.Comparator#comparing(Function, Comparator)`.
    `static <T> DistributedComparator<T>` | DistributedComparator.`comparingDouble(DistributedToDoubleFunction<? super T> toKeyFn)` `Serializable` variant of `java.util.Comparator#comparingDouble(ToDoubleFunction)`.
    `static <T> DistributedComparator<T>` | DistributedComparator.`comparingDouble(ToDoubleFunction<? super T> toKeyFn)` `Serializable` variant of `java.util.Comparator#comparingDouble(ToDoubleFunction)`.
    `static <T> DistributedComparator<T>` | DistributedComparator.`comparingInt(DistributedToIntFunction<? super T> toKeyFn)` `Serializable` variant of `java.util.Comparator#comparingInt(ToIntFunction)`.
    `static <T> DistributedComparator<T>` | DistributedComparator.`comparingInt(ToIntFunction<? super T> toKeyFn)` `Serializable` variant of `java.util.Comparator#comparingInt(ToIntFunction)`.
    `static <T> DistributedComparator<T>` | DistributedComparator.`comparingLong(DistributedToLongFunction<? super T> toKeyFn)` `Serializable` variant of `java.util.Comparator#comparingLong(ToLongFunction)`.
    `static <T> DistributedComparator<T>` | DistributedComparator.`comparingLong(ToLongFunction<? super T> toKeyFn)` `Serializable` variant of `java.util.Comparator#comparingLong(ToLongFunction)`.
    `static <T extends Comparable<? super T>> DistributedComparator<T>` | DistributedComparator.`naturalOrder()` `Serializable` variant of `java.util.Comparator#naturalOrder()`.
    `static <T> DistributedComparator<T>` | DistributedComparator.`nullsFirst(Comparator<? super T> comparator)` `Serializable` variant of `java.util.Comparator#nullsFirst(Comparator)`.
    `static <T> DistributedComparator<T>` | DistributedComparator.`nullsFirst(DistributedComparator<? super T> comparator)` `Serializable` variant of `java.util.Comparator#nullsFirst(Comparator)`.
    `static <T> DistributedComparator<T>` | DistributedComparator.`nullsLast(Comparator<? super T> comparator)` `Serializable` variant of `java.util.Comparator#nullsLast(Comparator)`.
    `static <T> DistributedComparator<T>` | DistributedComparator.`nullsLast(DistributedComparator<? super T> comparator)` `Serializable` variant of `java.util.Comparator#nullsLast(Comparator)`.
    `default DistributedComparator<T>` | DistributedComparator.`reversed()` `Serializable` variant of `java.util.Comparator#reversed()`
    `static <T extends Comparable<? super T>> DistributedComparator<T>` | DistributedComparator.`reverseOrder()` `Serializable` variant of `java.util.Comparator#reverseOrder()`.
    `default DistributedComparator<T>` | DistributedComparator.`thenComparing(Comparator<? super T> other)` `Serializable` variant of `java.util.Comparator#thenComparing(Comparator)`.
    `default DistributedComparator<T>` | DistributedComparator.`thenComparing(DistributedComparator<? super T> other)` `Serializable` variant of `java.util.Comparator#thenComparing(Comparator)`.
    `default <U extends Comparable<? super U>> DistributedComparator<T>` | DistributedComparator.`thenComparing(DistributedFunction<? super T,? extends U> toKeyFn)` `Serializable` variant of `java.util.Comparator#thenComparing(Function)`.
    `default <U> DistributedComparator<T>` | DistributedComparator.`thenComparing(DistributedFunction<? super T,? extends U> toKeyFn, DistributedComparator<? super U> keyComparator)` `Serializable` variant of `java.util.Comparator#thenComparing(Function, Comparator)`.
    `default <U extends Comparable<? super U>> DistributedComparator<T>` | DistributedComparator.`thenComparing(Function<? super T,? extends U> toKeyFn)` `Serializable` variant of `java.util.Comparator#thenComparing(Function)`.
    `default <U> DistributedComparator<T>` | DistributedComparator.`thenComparing(Function<? super T,? extends U> toKeyFn, Comparator<? super U> keyComparator)` `Serializable` variant of `java.util.Comparator#thenComparing(Function, Comparator)`.
    `default DistributedComparator<T>` | DistributedComparator.`thenComparingDouble(DistributedToDoubleFunction<? super T> toKeyFn)` `Serializable` variant of `java.util.Comparator#thenComparingDouble(ToDoubleFunction)`.
    `default DistributedComparator<T>` | DistributedComparator.`thenComparingDouble(ToDoubleFunction<? super T> toKeyFn)` `Serializable` variant of `java.util.Comparator#thenComparingDouble(ToDoubleFunction)`.
    `default DistributedComparator<T>` | DistributedComparator.`thenComparingInt(DistributedToIntFunction<? super T> toKeyFn)` `Serializable` variant of `java.util.Comparator#thenComparingInt(ToIntFunction)`.
    `default DistributedComparator<T>` | DistributedComparator.`thenComparingInt(ToIntFunction<? super T> toKeyFn)` `Serializable` variant of `java.util.Comparator#thenComparingInt(ToIntFunction)`.
    `default DistributedComparator<T>` | DistributedComparator.`thenComparingLong(DistributedToLongFunction<? super T> toKeyFn)` `Serializable` variant of `java.util.Comparator#thenComparingLong(ToLongFunction)`.
    `default DistributedComparator<T>` | DistributedComparator.`thenComparingLong(ToLongFunction<? super T> toKeyFn)` `Serializable` variant of `java.util.Comparator#thenComparingLong(ToLongFunction)`.

    Methods in com.hazelcast.jet.function with parameters of type DistributedComparator
    Modifier and Type | Method and Description
    --- | ---
    `static <T,U> DistributedComparator<T>` | DistributedComparator.`comparing(DistributedFunction<? super T,? extends U> toKeyFn, DistributedComparator<? super U> keyComparator)` `Serializable` variant of `java.util.Comparator#comparing(Function, Comparator)`.
    `static <T> DistributedComparator<T>` | DistributedComparator.`nullsFirst(DistributedComparator<? super T> comparator)` `Serializable` variant of `java.util.Comparator#nullsFirst(Comparator)`.
    `static <T> DistributedComparator<T>` | DistributedComparator.`nullsLast(DistributedComparator<? super T> comparator)` `Serializable` variant of `java.util.Comparator#nullsLast(Comparator)`.
    `default DistributedComparator<T>` | DistributedComparator.`thenComparing(DistributedComparator<? super T> other)` `Serializable` variant of `java.util.Comparator#thenComparing(Comparator)`.
    `default <U> DistributedComparator<T>` | DistributedComparator.`thenComparing(DistributedFunction<? super T,? extends U> toKeyFn, DistributedComparator<? super U> keyComparator)` `Serializable` variant of `java.util.Comparator#thenComparing(Function, Comparator)`.

Copyright © 2018. All rights reserved.