Package org.anchoranalysis.math.relation
Class LessThan
Object
org.anchoranalysis.math.relation.LessThan
- All Implemented Interfaces:
DoubleBiPredicate
public class LessThan extends Object implements DoubleBiPredicate
Returns true iff
valueFirst is less than valueSecond.- Author:
- Owen Feehan
-
Constructor Details
-
LessThan
public LessThan()
-
-
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.
-