Class BooleanFunctionComparator<T>
java.lang.Object
org.eclipse.collections.impl.block.comparator.primitive.BooleanFunctionComparator<T>
- All Implemented Interfaces:
Serializable
,Comparator<T>
,SerializableComparator<T>
public class BooleanFunctionComparator<T> extends Object implements SerializableComparator<T>
A Comparator which takes a BooleanFunction to compare a primitive boolean value retrieved from an object.
This file was automatically generated from template file primitiveFunctionComparator.stg.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description BooleanFunctionComparator(BooleanFunction<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>
-