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

dev.fuxing.airtable.formula.NumericOperator Maven / Gradle / Ivy

The newest version!
package dev.fuxing.airtable.formula;

/**
 * @see Numeric operators and functions
 * 

* Created by: Fuxing * Date: 2019-04-21 * Time: 02:04 */ public interface NumericOperator extends AirtableOperator { /** * Add together two numeric values */ NumericOperator ADD = new NumericOperator() { @Override public String apply(AirtableFormula.Object left, AirtableFormula.Object right, AirtableFormula.Object... others) { return operator("+", left, right, others); } }; /** * Subtract two numeric values */ NumericOperator SUBTRACT = new NumericOperator() { @Override public String apply(AirtableFormula.Object left, AirtableFormula.Object right, AirtableFormula.Object... others) { return operator("-", left, right, others); } }; /** * Multiply two numeric values */ NumericOperator MULTIPLY = new NumericOperator() { @Override public String apply(AirtableFormula.Object left, AirtableFormula.Object right, AirtableFormula.Object... others) { return operator("*", left, right, others); } }; /** * Divide two numeric values */ NumericOperator DIVIDE = new NumericOperator() { @Override public String apply(AirtableFormula.Object left, AirtableFormula.Object right, AirtableFormula.Object... others) { return operator("/", left, right, others); } }; }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy