org.joo.libra.numeric.LessThanPredicate Maven / Gradle / Ivy
package org.joo.libra.numeric;
import org.joo.libra.common.BinaryPredicate;
import org.joo.libra.common.HasValue;
public class LessThanPredicate extends BinaryPredicate {
public LessThanPredicate(HasValue one, HasValue other) {
super(one, other);
}
@Override
protected boolean doSatisifiedBy(Number one, Number other) {
return NumericComparator.compare(one, other) < 0;
}
}