All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy