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 TypeMethodDescriptionboolean
test
(double valueFirst, double valueSecond) Considers the relationship betweenvalueFirst
andvalueSecond
.
-
Method Details
-
test
boolean test(double valueFirst, double valueSecond) Considers the relationship betweenvalueFirst
andvalueSecond
.- Parameters:
valueFirst
- the first-value.valueSecond
- the second-value.- Returns:
- true if the relation holds.
-