Serializable
, Comparator<T>
, SerializableComparator<T>
public class BooleanFunctionComparator<T> extends Object implements SerializableComparator<T>
Constructor | Description |
---|---|
BooleanFunctionComparator(BooleanFunction<T> function) |
Modifier and Type | Method | Description |
---|---|---|
int |
compare(T o1,
T o2) |
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–2019. All rights reserved.