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

com.evuv.operators.SmallerThanOperator Maven / Gradle / Ivy

package com.evuv.operators;

import com.evuv.expressions.ComparableExpression;

public class SmallerThanOperator implements Operator, T> {


	@Override
	public boolean op(ComparableExpression left, ComparableExpression right) {
		if (left.getValue() != null && right.getValue() != null) {
			return left.compareTo(right.getValue()) < 0;
		}
		return false;
	}

	@Override
	public String toString(){
		return "<";
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy