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