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 TypeMethodDescriptionvoidinsertFirst(OperatorResolver operatorResolver) voidinsertLast(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) voidvalidate(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 ofProblemto pass any problems encountered during validation
-
resolve
Optional<RiskscapeFunction> resolve(RealizationContext context, BinaryOperation operation, Type inputType, Type lhs, Type rhs)
-