Class LongFunctionComparator<T>
java.lang.Object
org.eclipse.collections.impl.block.comparator.primitive.LongFunctionComparator<T>
- All Implemented Interfaces:
Serializable
,Comparator<T>
,SerializableComparator<T>
public class LongFunctionComparator<T> extends Object implements SerializableComparator<T>
A Comparator which takes a LongFunction to compare a primitive long value retrieved from an object.
This file was automatically generated from template file primitiveFunctionComparator.stg.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description LongFunctionComparator(LongFunction<T> function)
-
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<T>
-