Class ShortFunctionComparator<T>

java.lang.Object
org.eclipse.collections.impl.block.comparator.primitive.ShortFunctionComparator<T>
All Implemented Interfaces:
Serializable, Comparator<T>, SerializableComparator<T>

public class ShortFunctionComparator<T> extends Object implements SerializableComparator<T>
A Comparator which takes a ShortFunction to compare a primitive short value retrieved from an object. This file was automatically generated from template file primitiveFunctionComparator.stg.
See Also:
  • Constructor Details

    • ShortFunctionComparator

      public ShortFunctionComparator(ShortFunction<T> function)
  • Method Details