Class SwitchFunction
java.lang.Object
nz.org.riskscape.engine.function.BaseRealizableFunction
nz.org.riskscape.defaults.function.SwitchFunction
- All Implemented Interfaces:
nz.org.riskscape.engine.rl.RealizableFunction
public class SwitchFunction
extends nz.org.riskscape.engine.function.BaseRealizableFunction
-
Nested Class Summary
Nested classes/interfaces inherited from interface nz.org.riskscape.engine.rl.RealizableFunction
nz.org.riskscape.engine.rl.RealizableFunction.MetadataIdentifiedRealizableFunction
-
Field Summary
Modifier and TypeFieldDescriptionstatic final nz.org.riskscape.engine.types.Struct
static final SwitchFunction.LocalProblems
Fields inherited from class nz.org.riskscape.engine.function.BaseRealizableFunction
arguments, returnType
-
Constructor Summary
-
Method Summary
Methods inherited from class nz.org.riskscape.engine.function.BaseRealizableFunction
asFunction, build, builtin, getArguments, getReturnType, identified
-
Field Details
-
CASE_TYPE
public static final nz.org.riskscape.engine.types.Struct CASE_TYPE -
PROBLEMS
-
-
Constructor Details
-
SwitchFunction
public SwitchFunction()
-
-
Method Details
-
realize
public nz.org.riskscape.problem.ResultOrProblems<nz.org.riskscape.engine.function.RiskscapeFunction> realize(nz.org.riskscape.engine.rl.RealizationContext context, nz.org.riskscape.rl.ast.FunctionCall functionCall, List<nz.org.riskscape.engine.types.Type> givenTypes) - Specified by:
realize
in interfacenz.org.riskscape.engine.rl.RealizableFunction
- Overrides:
realize
in classnz.org.riskscape.engine.function.BaseRealizableFunction
-