public class BooleanFunctionComparator<T> extends Object implements SerializableComparator<T>
Constructor and Description |
---|
BooleanFunctionComparator(BooleanFunction<T> function) |
Modifier and Type | Method and Description |
---|---|
int |
compare(T o1,
T o2) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public BooleanFunctionComparator(BooleanFunction<T> function)
public int compare(T o1, T o2)
compare
in interface Comparator<T>
Copyright © 2004–2016. All rights reserved.