com.hazelcast.util
Class SortingUtil
java.lang.Object
com.hazelcast.util.SortingUtil
public final class SortingUtil
- extends Object
Utility class for generating Comparators to be used in sort methods specific to hazelcast classes.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isSuitableForCompare
public static boolean isSuitableForCompare(Comparator<Map.Entry> comparator,
IterationType iterationType,
Map.Entry entry)
compare
public static int compare(Comparator<Map.Entry> comparator,
IterationType iterationType,
Map.Entry entry1,
Map.Entry entry2)
newComparator
public static Comparator<Map.Entry> newComparator(Comparator<Map.Entry> comparator,
IterationType iterationType)
newComparator
public static Comparator<Map.Entry> newComparator(PagingPredicate pagingPredicate)
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.