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

io.tiler.internal.queries.expressions.logical.AndOperation Maven / Gradle / Ivy

There is a newer version: 0.1.28
Show newest version
package io.tiler.internal.queries.expressions.logical;

import io.tiler.internal.queries.EvaluationContext;
import io.tiler.internal.queries.EvaluationException;
import io.tiler.internal.queries.QueryContext;
import io.tiler.internal.queries.expressions.Expression;

public class AndOperation extends LogicalBinaryOperation {
  public AndOperation(QueryContext queryContext, Expression operand1, Expression operand2) {
    super(queryContext, operand1, operand2);
  }

  @Override
  public Object evaluate(EvaluationContext context) throws EvaluationException {
    return evaluateOperand1(context) && evaluateOperand2(context);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy