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,
com.hazelcast.query.impl.QueryableEntry queryEntry,
Map.Entry<Integer,Map.Entry> nearestAnchorEntry) |
static com.hazelcast.internal.util.ResultSet |
getSortedQueryResultSet(List<Map.Entry> list,
PagingPredicate pagingPredicate,
IterationType iterationType) |
static List<com.hazelcast.query.impl.QueryableEntry> |
getSortedSubList(List<com.hazelcast.query.impl.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<com.hazelcast.query.impl.QueryableEntry> getSortedSubList(List<com.hazelcast.query.impl.QueryableEntry> list, PagingPredicate pagingPredicate, Map.Entry<Integer,Map.Entry> nearestAnchorEntry)
public static com.hazelcast.internal.util.ResultSet getSortedQueryResultSet(List<Map.Entry> list, PagingPredicate pagingPredicate, IterationType iterationType)
public static boolean compareAnchor(PagingPredicate pagingPredicate, com.hazelcast.query.impl.QueryableEntry queryEntry, Map.Entry<Integer,Map.Entry> nearestAnchorEntry)
Copyright © 2018 Hazelcast, Inc.. All rights reserved.