Uses of Interface
com.tangosol.util.function.Remote.Comparator
Packages that use Remote.Comparator
Package
Description
Contains classes to enable Repository-like access to Coherence data.
Contains concrete
Comparator implementations and related interfaces.Contains Functional interfaces allowing remote execution of lambda expressions and method references.
Contains classes to support functional-style operations on remote streams of elements,
such as map-reduce transformations on collections.
-
Uses of Remote.Comparator in com.oracle.coherence.repository
Methods in com.oracle.coherence.repository with parameters of type Remote.ComparatorModifier and TypeMethodDescriptionAbstractAsyncRepository.getAllOrderedBy(Filter<?> filter, Remote.Comparator<? super T> orderBy) Return all entities that satisfy the specified criteria, sorted using specifiedRemote.Comparator.AbstractAsyncRepository.getAllOrderedBy(Remote.Comparator<? super T> orderBy) Return all entities in this repository, sorted using specifiedRemote.Comparator.AbstractRepository.getAllOrderedBy(Filter<?> filter, Remote.Comparator<? super T> orderBy) Return all entities that satisfy the specified criteria, sorted using specifiedRemote.Comparator.AbstractRepository.getAllOrderedBy(Remote.Comparator<? super T> orderBy) Return all entities in this repository, sorted using specifiedRemote.Comparator.<K> CompletableFuture<Map<K, SortedSet<T>>> AbstractAsyncRepository.groupBy(Filter<?> filter, ValueExtractor<? super T, ? extends K> extractor, Remote.Comparator<? super T> orderBy) Return the grouping of entities by the specified extractor, ordered by the specified attribute within each group.<K> CompletableFuture<Map<K, SortedSet<T>>> AbstractAsyncRepository.groupBy(ValueExtractor<? super T, ? extends K> extractor, Remote.Comparator<? super T> orderBy) Return the grouping of entities by the specified extractor, ordered by the specified attribute within each group.AbstractRepository.groupBy(Filter<?> filter, ValueExtractor<? super T, ? extends K> extractor, Remote.Comparator<? super T> orderBy) Return the grouping of entities by the specified extractor, ordered by the specified attribute within each group.AbstractRepository.groupBy(ValueExtractor<? super T, ? extends K> extractor, Remote.Comparator<? super T> orderBy) Return the grouping of entities by the specified extractor, ordered by the specified attribute within each group.<R> CompletableFuture<List<R>> AbstractAsyncRepository.top(Filter<?> filter, ValueExtractor<? super T, ? extends R> extractor, Remote.Comparator<? super R> comparator, int cResults) Return the top N highest values for the specified extractor.<R> CompletableFuture<List<R>> AbstractAsyncRepository.top(ValueExtractor<? super T, ? extends R> extractor, Remote.Comparator<? super R> comparator, int cResults) Return the top N highest values for the specified extractor.<R> List<R> AbstractRepository.top(Filter<?> filter, ValueExtractor<? super T, ? extends R> extractor, Remote.Comparator<? super R> comparator, int cResults) Return the top N highest values for the specified extractor.<R> List<R> AbstractRepository.top(ValueExtractor<? super T, ? extends R> extractor, Remote.Comparator<? super R> comparator, int cResults) Return the top N highest values for the specified extractor.AbstractAsyncRepository.topBy(Filter<?> filter, Remote.Comparator<? super T> comparator, int cResults) Return the top N entities with the highest values for the specified extractor.AbstractAsyncRepository.topBy(Remote.Comparator<? super T> comparator, int cResults) Return the top N entities with the highest values for the specified extractor.AbstractRepository.topBy(Filter<?> filter, Remote.Comparator<? super T> comparator, int cResults) Return the top N entities with the highest values for the specified extractor.AbstractRepository.topBy(Remote.Comparator<? super T> comparator, int cResults) Return the top N entities with the highest values for the specified extractor. -
Uses of Remote.Comparator in com.tangosol.util.comparator
Classes in com.tangosol.util.comparator that implement Remote.ComparatorModifier and TypeClassDescriptionclassComparator implementation used to compare map entries.classComparator that reverses the result of another comparator.classNull-safe delegating comparator. -
Uses of Remote.Comparator in com.tangosol.util.function
Methods in com.tangosol.util.function that return Remote.ComparatorModifier and TypeMethodDescriptionstatic <T> Remote.Comparator<T> Remote.comparator(Remote.Comparator<T> comparator) Capture serializable Comparator.static <T,E extends Comparable<? super E>>
Remote.Comparator<T> Remote.comparator(ValueExtractor<? super T, ? extends E> extractor) CreateRemote.Comparatorfor the specified extractor that returns aComparablevalue.static <T,U extends Comparable<? super U>>
Remote.Comparator<T> Remote.Comparator.comparing(Remote.Function<? super T, ? extends U> keyExtractor) Accepts a function that extracts aComparablesort key from a typeT, and returns aComparator<T>that compares by that sort key.static <T,U> Remote.Comparator <T> Remote.Comparator.comparing(Remote.Function<? super T, ? extends U> keyExtractor, Remote.Comparator<? super U> keyComparator) Accepts a function that extracts a sort key from a typeT, and returns aComparator<T>that compares by that sort key using the specifiedRemote.Comparator.static <T> Remote.Comparator<T> Remote.Comparator.comparingDouble(Remote.ToDoubleFunction<? super T> keyExtractor) Accepts a function that extracts adoublesort key from a typeT, and returns aComparator<T>that compares by that sort key.static <T> Remote.Comparator<T> Remote.Comparator.comparingInt(Remote.ToIntFunction<? super T> keyExtractor) Accepts a function that extracts anintsort key from a typeT, and returns aComparator<T>that compares by that sort key.static <T> Remote.Comparator<T> Remote.Comparator.comparingLong(Remote.ToLongFunction<? super T> keyExtractor) Accepts a function that extracts alongsort key from a typeT, and returns aComparator<T>that compares by that sort key.static <T extends Comparable<? super T>>
Remote.Comparator<T> Remote.Comparator.naturalOrder()Returns a comparator that comparesComparableobjects in natural order.static <T> Remote.Comparator<T> Remote.Comparator.nullsFirst(Remote.Comparator<T> comparator) Returns a null-friendly comparator that considersnullto be less than non-null.static <T> Remote.Comparator<T> Remote.Comparator.nullsLast(Remote.Comparator<T> comparator) Returns a null-friendly comparator that considersnullto be greater than non-null.default Remote.Comparator<T> Remote.Comparator.reversed()Returns a comparator that imposes the reverse ordering of this comparator.static <T extends Comparable<? super T>>
Remote.Comparator<T> Remote.Comparator.reverseOrder()Returns a comparator that imposes the reverse of the natural ordering.default Remote.Comparator<T> Remote.Comparator.thenComparing(Remote.Comparator<? super T> other) Returns a lexicographic-order comparator with another comparator.default <U extends Comparable<? super U>>
Remote.Comparator<T> Remote.Comparator.thenComparing(Remote.Function<? super T, ? extends U> keyExtractor) Returns a lexicographic-order comparator with a function that extracts aComparablesort key.default <U> Remote.Comparator<T> Remote.Comparator.thenComparing(Remote.Function<? super T, ? extends U> keyExtractor, Remote.Comparator<? super U> keyComparator) Returns a lexicographic-order comparator with a function that extracts a key to be compared with the givenComparator.default Remote.Comparator<T> Remote.Comparator.thenComparingDouble(Remote.ToDoubleFunction<? super T> keyExtractor) Returns a lexicographic-order comparator with a function that extracts adoublesort key.default Remote.Comparator<T> Remote.Comparator.thenComparingInt(Remote.ToIntFunction<? super T> keyExtractor) Returns a lexicographic-order comparator with a function that extracts aintsort key.default Remote.Comparator<T> Remote.Comparator.thenComparingLong(Remote.ToLongFunction<? super T> keyExtractor) Returns a lexicographic-order comparator with a function that extracts alongsort key.Methods in com.tangosol.util.function with parameters of type Remote.ComparatorModifier and TypeMethodDescriptionstatic <T> Remote.Comparator<T> Remote.comparator(Remote.Comparator<T> comparator) Capture serializable Comparator.static <T,U> Remote.Comparator <T> Remote.Comparator.comparing(Remote.Function<? super T, ? extends U> keyExtractor, Remote.Comparator<? super U> keyComparator) Accepts a function that extracts a sort key from a typeT, and returns aComparator<T>that compares by that sort key using the specifiedRemote.Comparator.static <T> Remote.BinaryOperator<T> Remote.BinaryOperator.maxBy(Remote.Comparator<? super T> comparator) Returns aRemote.BinaryOperatorwhich returns the greater of two elements according to the specifiedComparator.static <T> Remote.BinaryOperator<T> Remote.BinaryOperator.minBy(Remote.Comparator<? super T> comparator) Returns aRemote.BinaryOperatorwhich returns the lesser of two elements according to the specifiedComparator.static <T> Remote.Comparator<T> Remote.Comparator.nullsFirst(Remote.Comparator<T> comparator) Returns a null-friendly comparator that considersnullto be less than non-null.static <T> Remote.Comparator<T> Remote.Comparator.nullsLast(Remote.Comparator<T> comparator) Returns a null-friendly comparator that considersnullto be greater than non-null.default Remote.Comparator<T> Remote.Comparator.thenComparing(Remote.Comparator<? super T> other) Returns a lexicographic-order comparator with another comparator.default <U> Remote.Comparator<T> Remote.Comparator.thenComparing(Remote.Function<? super T, ? extends U> keyExtractor, Remote.Comparator<? super U> keyComparator) Returns a lexicographic-order comparator with a function that extracts a key to be compared with the givenComparator. -
Uses of Remote.Comparator in com.tangosol.util.stream
Methods in com.tangosol.util.stream with parameters of type Remote.ComparatorModifier and TypeMethodDescriptionRemoteStream.max(Remote.Comparator<? super T> comparator) Returns the maximum element of this stream according to the providedComparator.static <T> RemoteCollector<T, ?, Optional<T>> RemoteCollectors.maxBy(Remote.Comparator<? super T> comparator) Returns aCollectorthat produces the maximal element according to a givenComparator, described as anOptional<T>.RemoteStream.min(Remote.Comparator<? super T> comparator) Returns the minimum element of this stream according to the providedComparator.static <T> RemoteCollector<T, ?, Optional<T>> RemoteCollectors.minBy(Remote.Comparator<? super T> comparator) Returns aCollectorthat produces the minimal element according to a givenComparator, described as anOptional<T>.default RemoteStream<T> RemoteStream.sorted(Remote.Comparator<? super T> comparator) Returns a stream consisting of the elements of this stream, sorted according to the providedComparator.default RemoteStream<T> RemoteStream.sorted(Remote.Comparator<? super T> comparator, boolean fInverse) Returns a stream consisting of the elements of this stream, sorted according to the providedComparator.static <T> RemoteCollector<T, ?, Collection<T>> RemoteCollectors.toSortedBag(Remote.Comparator<? super T> comparator) Returns aCollectorthat accumulates the input elements into a newSortedBag.static <T> RemoteCollector<T, ?, SortedSet<T>> RemoteCollectors.toSortedSet(Remote.Comparator<? super T> comparator) Returns aCollectorthat accumulates the input elements into a newSortedSet.