Interface DoubleBiPredicate

All Known Implementing Classes:
EqualTo, GreaterThan, GreaterThanEqualTo, LessThan, LessThanEqualTo, NotEqualTo
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface DoubleBiPredicate
Like BiPredicate but operates on doubles.

This can be used to express a binary relation.

Author:
Owen Feehan
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    test(double valueFirst, double valueSecond)
    Considers the relationship between valueFirst and valueSecond.
  • Method Details

    • test

      boolean test(double valueFirst, double valueSecond)
      Considers the relationship between valueFirst and valueSecond.
      Parameters:
      valueFirst - the first-value.
      valueSecond - the second-value.
      Returns:
      true if the relation holds.