Class JavaNewFunction
java.lang.Object
com.github.basking2.sdsai.itrex.functions.AbstractFunction1<Object,Object>
com.github.basking2.sdsai.itrex.functions.java.JavaNewFunction
- All Implemented Interfaces:
FunctionInterface<Object>
,BiFunction<Iterator<?>,
EvaluationContext, Object>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Object
applyImpl
(Object target, Iterator<?> rest, EvaluationContext context) Overriders of this class should implement this.static Constructor<?>
findConstructor
(Class<?> clazz, Class<?>[] argumentTypes) Methods inherited from class com.github.basking2.sdsai.itrex.functions.AbstractFunction1
apply
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.function.BiFunction
andThen
-
Constructor Details
-
JavaNewFunction
public JavaNewFunction()
-
-
Method Details
-
applyImpl
Description copied from class:AbstractFunction1
Overriders of this class should implement this.- Specified by:
applyImpl
in classAbstractFunction1<Object,
Object> - Parameters:
target
- The desired parameter.rest
- Any unused arguments.context
- The evaluation context.- Returns:
- The produced object.
-
findConstructor
-