Package org.anchoranalysis.math.relation
Class LessThanEqualTo
Object
LessThanEqualTo
- All Implemented Interfaces:
DoubleBiPredicate
Returns true iff
valueFirst is less than or equal to valueSecond.- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleantest(double valueFirst, double valueSecond) Considers the relationship betweenvalueFirstandvalueSecond.
-
Constructor Details
-
LessThanEqualTo
public LessThanEqualTo()
-
-
Method Details
-
test
public boolean test(double valueFirst, double valueSecond) Description copied from interface:DoubleBiPredicateConsiders the relationship betweenvalueFirstandvalueSecond.- Specified by:
testin interfaceDoubleBiPredicate- Parameters:
valueFirst- the first-value.valueSecond- the second-value.- Returns:
- true if the relation holds.
-