Class LetFunction
java.lang.Object
com.github.basking2.sdsai.itrex.functions.LetFunction
- All Implemented Interfaces:
FunctionInterface<Object>
,HelpfulFunction
,BiFunction<Iterator<?>,
EvaluationContext, Object>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapply
(Iterator<?> iterator, EvaluationContext evaluationContext) functionHelp
(String name, boolean verbose) Returns help text for how this function should be used.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
-
LetFunction
public LetFunction()
-
-
Method Details
-
apply
- Specified by:
apply
in interfaceBiFunction<Iterator<?>,
EvaluationContext, Object>
-
functionHelp
Description copied from interface:HelpfulFunction
Returns help text for how this function should be used.- Specified by:
functionHelp
in interfaceHelpfulFunction
- Parameters:
name
- The name the function is called. Functions may have aliases.verbose
- Should this help be verbose or simplistic.- Returns:
- A string that describes how to use a function. This may be a Markdown formatted string.
-