Interface ComparisonProjection.FloatComparer

Enclosing class:
ComparisonProjection
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface protected static interface ComparisonProjection.FloatComparer
Performs comparison of two values of type long.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    compare(float value, float existingValue)
    Compare a value to an existing value.
  • Method Details

    • compare

      boolean compare(float value, float existingValue)
      Compare a value to an existing value.
      Parameters:
      value - the value to compare.
      existingValue - the existing value.
      Returns:
      true if value should replace existingValue, false otherwise.