Package nz.org.riskscape.engine.function
package nz.org.riskscape.engine.function
-
ClassDescriptionBinaryFunction<T,
U> ConvenienceRiskscapeFunction
for adding metadata to a javaBinaryOperator
function, specifically meant for a riskscape languageBinaryOperation
Convenience for addingRiskscapeFunction
metadata to a javaBiPredicate
functionA RiskscapeFunction that always returns the same valueContext containing things that may be useful toRiskscapeFunction
s 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 realizingFunctionCall
expressions to produce aRiskscapeFunction
that can be used during execution ofRealizedExpression.evaluate(Object)
.ARiskscapeFunction
that is identified by itsIdentified.getId()
.Immutable prototype-builder implementation ofIdentifiedFunction
TODO 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.ARiskscapeFunction
that wraps another one to short-circuit the target function to return null if any of the args are null.Used for RealizingBinaryOperation
s in toRealizedExpression
s that can be used to evaluate an expressionSignals that anIdentifiedFunction
supports different combinations of types.General interface for any kind of function that accepts and returns riskscape types values.A minimalRiskscapeFunction
interface, 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
.