io.tiler.internal.queries.expressions.AndOperation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tiler Show documentation
Show all versions of tiler Show documentation
Plugable dashboard framework
package io.tiler.internal.queries.expressions;
public class AndOperation extends LogicalOperation {
public AndOperation(Iterable arguments) {
super(arguments);
}
@Override
public Object evaluate(Object leftHandValue) throws InvalidExpressionException {
for (Expression argument : getArguments()) {
if (!evaluatesToTrue(argument.evaluate(leftHandValue))) {
return false;
}
}
return true;
}
}