Package nz.org.riskscape.engine.function
package nz.org.riskscape.engine.function
-
ClassDescriptionBinaryFunction<T,
U> ConvenienceRiskscapeFunctionfor adding metadata to a javaBinaryOperatorfunction, specifically meant for a riskscape languageBinaryOperationConvenience for addingRiskscapeFunctionmetadata to a javaBiPredicatefunctionA RiskscapeFunction that always returns the same valueContext containing things that may be useful toRiskscapeFunctions being instantiated from external sources.Defines a framework for building functions, e.g.Holds the common details about a RiskScape function, such as its argument-types and return-type.Used for realizingFunctionCallexpressions to produce aRiskscapeFunctionthat can be used during execution ofRealizedExpression.evaluate(Object).ARiskscapeFunctionthat is identified by itsIdentified.getId().Immutable prototype-builder implementation ofIdentifiedFunctionTODO given the use of this an all sorts of other implementations, the name of this needs to change to be more like 'BaseFunction' or 'ImmutableFunction'Convenience class for dealing with the basic metadata-related aspects of a function, i.e.ARiskscapeFunctionthat wraps another one to short-circuit the target function to return null if any of the args are null.Used for RealizingBinaryOperations in toRealizedExpressions that can be used to evaluate an expressionSignals that anIdentifiedFunctionsupports different combinations of types.General interface for any kind of function that accepts and returns riskscape types values.A minimalRiskscapeFunctioninterface, which exists for two reasons: 1) store a reference to a first-class function in a tuple 2) a minimal functional interface for use with creating minimal riskscape functions without having to implementRiskscapeFunction.