Serializable
, Comparator<T>
, SerializableComparator<T>
public class LongFunctionComparator<T> extends Object implements SerializableComparator<T>
Constructor | Description |
---|---|
LongFunctionComparator(LongFunction<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 LongFunctionComparator(LongFunction<T> function)
public int compare(T o1, T o2)
compare
in interface Comparator<T>
Copyright © 2004–2019. All rights reserved.