Class ClassOfFunction
java.lang.Object
com.github.basking2.sdsai.itrex.functions.AbstractFunction1<String,Class<?>>
com.github.basking2.sdsai.itrex.functions.java.ClassOfFunction
- All Implemented Interfaces:
FunctionInterface<Class<?>>
,BiFunction<Iterator<?>,
EvaluationContext, Class<?>>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Class<?>
applyImpl
(String className, Iterator<?> rest, EvaluationContext context) Overriders of this class should implement this.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
-
ClassOfFunction
public ClassOfFunction()
-
-
Method Details
-
applyImpl
Description copied from class:AbstractFunction1
Overriders of this class should implement this.- Specified by:
applyImpl
in classAbstractFunction1<String,
Class<?>> - Parameters:
className
- The desired parameter.rest
- Any unused arguments.context
- The evaluation context.- Returns:
- The produced object.
-