Package team.unnamed.mocha.runtime
Interface MochaFunction
- All Superinterfaces:
MochaCompiledFunction
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A
MochaCompiledFunction that can be evaluated without arguments.- Since:
- 3.0.0
-
Method Summary
Modifier and TypeMethodDescriptiondoubleevaluate()Evaluates this function.static @NotNull MochaFunctionnop()
-
Method Details
-
nop
-
evaluate
double evaluate()Evaluates this function.- Returns:
- The result of the evaluation.
- Since:
- 3.0.0
-