public interface GroupComparator<D> extends java.util.Comparator<D>
To know whether two objects is in the same group,
is invoked. If zero is returned, it implies they are in the same group,
Comparator.compare(T, T) is used to compare the order in the group.
Comparator.compare(T, T) won't be called if they don't belong to the same group.
|Modifier and Type||Method and Description|
Compares if the two arguments is in the same group.
compare, comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
Copyright © 2005-2018 Potix Corporation. All Rights Reserved.