Package org.anchoranalysis.math.relation
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.
Like
BiPredicate but operates on doubles.
This can be used to express a binary relation.
- Author:
- Owen Feehan
-
Method Summary
Modifier and TypeMethodDescriptionbooleantest(double valueFirst, double valueSecond) Considers the relationship betweenvalueFirstandvalueSecond.
-
Method Details
-
test
boolean test(double valueFirst, double valueSecond) Considers the relationship betweenvalueFirstandvalueSecond.- Parameters:
valueFirst- the first-value.valueSecond- the second-value.- Returns:
- true if the relation holds.
-