public final class SortingUtil extends Object
| Modifier and Type | Method and Description | 
|---|---|
static int | 
compare(Comparator<Map.Entry> comparator,
       IterationType iterationType,
       Map.Entry entry1,
       Map.Entry entry2)  | 
static boolean | 
compareAnchor(PagingPredicate pagingPredicate,
             QueryableEntry queryEntry,
             Map.Entry<Integer,Map.Entry> nearestAnchorEntry)  | 
static ResultSet | 
getSortedQueryResultSet(List<Map.Entry> list,
                       PagingPredicate pagingPredicate,
                       IterationType iterationType)  | 
static List<QueryableEntry> | 
getSortedSubList(List<QueryableEntry> list,
                PagingPredicate pagingPredicate,
                Map.Entry<Integer,Map.Entry> nearestAnchorEntry)  | 
static Comparator<Map.Entry> | 
newComparator(Comparator<Map.Entry> comparator,
             IterationType iterationType)  | 
public static int compare(Comparator<Map.Entry> comparator, IterationType iterationType, Map.Entry entry1, Map.Entry entry2)
public static Comparator<Map.Entry> newComparator(Comparator<Map.Entry> comparator, IterationType iterationType)
public static List<QueryableEntry> getSortedSubList(List<QueryableEntry> list, PagingPredicate pagingPredicate, Map.Entry<Integer,Map.Entry> nearestAnchorEntry)
public static ResultSet getSortedQueryResultSet(List<Map.Entry> list, PagingPredicate pagingPredicate, IterationType iterationType)
public static boolean compareAnchor(PagingPredicate pagingPredicate, QueryableEntry queryEntry, Map.Entry<Integer,Map.Entry> nearestAnchorEntry)
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.