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

org.bitbucket.gkutiel.booly.ExpGeq Maven / Gradle / Ivy

package org.bitbucket.gkutiel.booly;

public class ExpGeq implements Exp {
	private final Exp l;
	private final Exp r;

	public ExpGeq(final Exp r, final Exp l) {
		this.r = r;
		this.l = l;
	}

	@Override public Boolean eval() {
		return l.eval().doubleValue() >= r.eval().doubleValue();
	}

	@Override public String toString() {
		return l.toString() + " >= " + r.toString();
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy