package com.baoying.enginex.executor.engine.consts;


public class EngineOperator {
	
	/*---------------------------- 关系运算符 ----------------------------*/
	
	public static final String OPERATOR_AND_RELATION = "&&";
	
	public static final String OPERATOR_OR_RELATION = "||";
	
	public static final String OPERATOR_NOT_RELATION = "!";
	
	public static final String OPERATOR_EQUALS_RELATION = "==";
	
	public static final String OPERATOR_GREATER_RELATION = ">";
	
	public static final String OPERATOR_GREATER_EQUALS_RELATION = ">=";
	
	public static final String OPERATOR_LESS_RELATION = "<";
	
	public static final String OPERATOR_LESS_EQUALS_RELATION = "<=";
	
	public static final String OPERATOR_NOT_EQUALS_RELATION = "!=";
	
	public static final String OPERATOR_AND_STRING_RELATION = "AND";
	
	public static final String OPERATOR_OR_STRING_RELATION = "OR";
	
	/*---------------------------- 数学运算符 ----------------------------*/
	
	public static final String OPERATOR_ADD_MATH = "+";
	
	public static final String OPERATOR_MINUS_MATH = "-";
	
	public static final String OPERATOR_MULITI_MATH = "*";
	
	public static final String OPERATOR_DIVIDE_MATH = "/";
	
	public static final String OPERATOR_MODULU_MATH = "%";
	
	public static final String OPERATOR_ABS_MATH = "abs";
	
	public static final String OPERATOR_ACOS_MATH = "acos";
	
	public static final String OPERATOR_ASIN_MATH = "asin";
	
	public static final String OPERATOR_ATAN_MATH = "atan";
	
	public static final String OPERATOR_ATAN2_MATH = "atan2";
	
	public static final String OPERATOR_AVERAGE_MATH = "avg";
	
	public static final String OPERATOR_CEIL_MATH = "ceil";
	
	public static final String OPERATOR_COS_MATH = "cos";
	
	public static final String OPERATOR_EXP_MATH = "exp";
	
	public static final String OPERATOR_FLOOR_MATH = "floor";
	
	public static final String OPERATOR_IEEE_MATH = "IEEEremainder";
	
	public static final String OPERATOR_LN_MATH = "ln";
	
	public static final String OPERATOR_LOG_MATH = "log";
	
	public static final String OPERATOR_MAX_MATH = "max";
	
	public static final String OPERATOR_MIN_MATH = "min";
	
	public static final String OPERATOR_POW_MATH = "pow";
	
	public static final String OPERATOR_RANDOM_MATH = "random";
	
	public static final String OPERATOR_RINT_MATH = "rint";
	
	public static final String OPERATOR_ROUND_MATH = "round";
	
	public static final String OPERATOR_SIN_MATH = "sin";
	
	public static final String OPERATOR_SQRT_MATH = "sqrt";
	
	public static final String OPERATOR_SUM_MATH = "sum";
	
	public static final String OPERATOR_TAN_MATH = "tan";
	
	public static final String OPERATOR_TODEGREES_MATH = "toDegrees";
	
	public static final String OPERATOR_TORADIANS_MATH = "toRadians";
	
	/*---------------------------- 字符串运算符 ----------------------------*/
	
	public static final String OPERATOR_CHARAT_STRING = "charAt";
	
	public static final String OPERATOR_COMPARE_STRING = "compareTo";
	
	public static final String OPERATOR_CTIC_STRING = "compareToIgnoreCase";
	
	public static final String OPERATOR_CONCAT_STRING = "concat";
	
	public static final String OPERATOR_ENDSWITH_STRING = "endsWith";
	
	public static final String OPERATOR_EIC_STRING = "equalsIgnoreCase";
	
	public static final String OPERATOR_EVAL_STRING = "eval";
	
	public static final String OPERATOR_INDEXOF_STRING = "indexOf";
	
	public static final String OPERATOR_LASTINDEXOF_STRING = "lastIndexOf";
	
	public static final String OPERATOR_LENGTH_STRING = "length";
	
	public static final String OPERATOR_REPLACE_STRING = "replace";
	
	public static final String OPERATOR_STARTSWITH_STRING = "startsWith";
	
	public static final String OPERATOR_SUB_STRING = "substring";
	
	public static final String OPERATOR_TLC_STRING = "toLowerCase";
	
	public static final String OPERATOR_TUC_STRING = "toUpperCase";
	
	public static final String OPERATOR_TRIM_STRING = "trim";
	
	public static final String OPERATOR_CONTAINS_STRING = "contains";
	
	public static final String OPERATOR_UNCONTAINS_STRING = "notContains";
	
	public static final String OPERATOR_EQUALS_STRING = "equals";
	
	public static final String OPERATOR_UNEQUALS_STRING = "notEquals";
	
	/*---------------------------- 符号 ----------------------------*/
	
	public static final String OPERATOR_LEFT_BRACE = "{";
	
	public static final String OPERATOR_RIGHT_BRACE = "}";
	
	public static final String OPERATOR_VARIABLE_LEFT = "#"+OPERATOR_LEFT_BRACE;
	
	public static final String OPERATOR_VARIABLE_RIGHT = "}";
	
	public static final String OPERATOR_LEFT_PARENTHESES = "(";
	
	public static final String OPERATOR_RIGHT_PARENTHESES = ")";
	
	public static final String OPERATOR_LEFT_BRACKET = "[";
	
	public static final String OPERATOR_RIGHT_BRACKET = "]";
}
