use of com.googlecode.aviator.runtime.function.seq.SeqMaxFunction in project aviatorscript by killme2008.
the class AviatorEvaluatorInstance method loadSeqFunctions.
private void loadSeqFunctions() {
addFunction(SeqCollectorFunction.INSTANCE);
addFunction(SeqCollectorRawFunction.INSTANCE);
addFunction(SeqKeysFunction.INSTANCE);
addFunction(SeqValsFunction.INSTANCE);
addFunction(SeqReverseFunction.INSTANCE);
addFunction(SeqZipmapFunction.INSTANCE);
addFunction(new SeqNewArrayFunction());
addFunction(new SeqArrayFunction());
addFunction(new SeqNewListFunction());
addFunction(new SeqNewMapFunction());
addFunction(new SeqNewSetFunction());
addFunction(new SeqMapEntryFunction());
addFunction(new SeqIntoFunction());
addFunction(new SeqAddFunction());
addFunction(new SeqRemoveFunction());
addFunction(new SeqGetFunction());
addFunction(new SeqPutFunction());
addFunction(new SeqMinFunction());
addFunction(new SeqMaxFunction());
addFunction(new SeqMapFunction());
addFunction(new SeqReduceFunction());
addFunction(new SeqFilterFunction());
addFunction(new SeqSortFunction());
addFunction(new SeqIncludeFunction());
addFunction(new SeqContainsKeyFunction());
addFunction(new SeqCountFunction());
addFunction(new SeqEveryFunction());
addFunction(new SeqNotAnyFunction());
addFunction(new SeqSomeFunction());
addFunction(new SeqMakePredicateFunFunction("seq.eq", OperatorType.EQ));
addFunction(new SeqMakePredicateFunFunction("seq.neq", OperatorType.NEQ));
addFunction(new SeqMakePredicateFunFunction("seq.lt", OperatorType.LT));
addFunction(new SeqMakePredicateFunFunction("seq.le", OperatorType.LE));
addFunction(new SeqMakePredicateFunFunction("seq.gt", OperatorType.GT));
addFunction(new SeqMakePredicateFunFunction("seq.ge", OperatorType.GE));
addFunction(new SeqCompsitePredFunFunction("seq.and", LogicOp.AND));
addFunction(new SeqCompsitePredFunFunction("seq.or", LogicOp.OR));
addFunction(new SeqMakePredicateFunFunction("seq.true", OperatorType.EQ, AviatorBoolean.TRUE));
addFunction(new SeqMakePredicateFunFunction("seq.false", OperatorType.EQ, AviatorBoolean.FALSE));
addFunction(new SeqMakePredicateFunFunction("seq.nil", OperatorType.EQ, AviatorNil.NIL));
addFunction(new SeqMakePredicateFunFunction("seq.exists", OperatorType.NEQ, AviatorNil.NIL));
}
Aggregations