Package nz.org.riskscape.engine
Interface FunctionSet
- All Superinterfaces:
IdentifiedCollection<IdentifiedFunction>
-
Nested Class Summary
Nested classes/interfaces inherited from interface nz.org.riskscape.engine.IdentifiedCollection
IdentifiedCollection.Base<T extends Identified>
-
Method Summary
Modifier and TypeMethodDescriptionvoid
insertFirst
(OperatorResolver operatorResolver) void
insertLast
(OperatorResolver operatorResolver) resolve
(RealizationContext context, BinaryOperation operation, Type inputType, Type lhs, Type rhs) resolve
(RealizationContext context, FunctionCall functionCall, Type inputType, List<Type> argumentTypes, FunctionResolver resolver) void
validate
(BindingContext context, Consumer<Problem> problemConsumer) Validates that the functions are valid.Methods inherited from interface nz.org.riskscape.engine.IdentifiedCollection
add, add, add, addAll, addAll, clear, containsKey, get, get, getAll, getAllProblems, getCollectionClass, getOr, getReferences, getResult, getSimilarIds, isEmpty, remove
-
Method Details
-
insertFirst
-
insertLast
-
resolve
ResultOrProblems<RiskscapeFunction> resolve(RealizationContext context, FunctionCall functionCall, Type inputType, List<Type> argumentTypes, FunctionResolver resolver) -
validate
Validates that the functions are valid.
- Parameters:
problemConsumer
- consumer ofProblem
to pass any problems encountered during validation
-
resolve
Optional<RiskscapeFunction> resolve(RealizationContext context, BinaryOperation operation, Type inputType, Type lhs, Type rhs)
-