Class FloatFunctionComparator<T>
- java.lang.Object
-
- org.eclipse.collections.impl.block.comparator.primitive.FloatFunctionComparator<T>
-
- All Implemented Interfaces:
Serializable
,Comparator<T>
,SerializableComparator<T>
public class FloatFunctionComparator<T> extends Object implements SerializableComparator<T>
A Comparator which takes a FloatFunction to compare a primitive float value retrieved from an object. This file was automatically generated from template file primitiveFunctionComparator.stg.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FloatFunctionComparator(FloatFunction<T> function)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(T o1, T o2)
-
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 Detail
-
FloatFunctionComparator
public FloatFunctionComparator(FloatFunction<T> function)
-
-
Method Detail
-
compare
public int compare(T o1, T o2)
- Specified by:
compare
in interfaceComparator<T>
-
-