Package nz.org.riskscape.engine.function
Class BaseMathsFunction
java.lang.Object
nz.org.riskscape.engine.function.BaseMathsFunction
- All Implemented Interfaces:
AutoCloseable
,nz.org.riskscape.engine.function.IdentifiedFunction
,nz.org.riskscape.engine.function.RiskscapeFunction
,nz.org.riskscape.engine.function.UntypedFunction
,nz.org.riskscape.engine.Identified
- Direct Known Subclasses:
Abs
,Log
,Log10
,LogNormalCurveFunction
,NormalCurveFunction
,OverloadedAggregatingMathsFunction
,Polynomial
,Pow
,Scale
public abstract class BaseMathsFunction
extends Object
implements nz.org.riskscape.engine.function.IdentifiedFunction
Convenience class with built in support for integer and floating point modes and everything in between
-
Nested Class Summary
Nested classes/interfaces inherited from interface nz.org.riskscape.engine.function.IdentifiedFunction
nz.org.riskscape.engine.function.IdentifiedFunction.Category, nz.org.riskscape.engine.function.IdentifiedFunction.Wrapping
-
Field Summary
Fields inherited from interface nz.org.riskscape.engine.function.RiskscapeFunction
BUILT_IN
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionnz.org.riskscape.engine.function.IdentifiedFunction.Category
getId()
protected nz.org.riskscape.engine.function.RiskscapeFunction
wrapping
(nz.org.riskscape.engine.function.ArgumentList args) protected nz.org.riskscape.engine.function.RiskscapeFunction
wrapping
(nz.org.riskscape.engine.function.FunctionArgument... newArgs) protected nz.org.riskscape.engine.function.RiskscapeFunction
wrapping
(nz.org.riskscape.engine.types.Type... newTypes) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface nz.org.riskscape.engine.Identified
getIdentifiedClass
Methods inherited from interface nz.org.riskscape.engine.function.IdentifiedFunction
infoOutput, isBuiltin, toEntity
Methods inherited from interface nz.org.riskscape.engine.function.RiskscapeFunction
builtin, getAggregationFunction, getArguments, getArgumentTypes, getOverloaded, getRealizable, getReturnType, getTypesFromArguments, identified, identified, isA, setProblemReporter, validate
Methods inherited from interface nz.org.riskscape.engine.function.UntypedFunction
close
-
Field Details
-
description
-
-
Constructor Details
-
BaseMathsFunction
public BaseMathsFunction()
-
-
Method Details
-
getDescription
- Specified by:
getDescription
in interfacenz.org.riskscape.engine.function.IdentifiedFunction
-
call
- Specified by:
call
in interfacenz.org.riskscape.engine.function.UntypedFunction
-
getSource
- Specified by:
getSource
in interfacenz.org.riskscape.engine.function.IdentifiedFunction
-
getCategory
public nz.org.riskscape.engine.function.IdentifiedFunction.Category getCategory()- Specified by:
getCategory
in interfacenz.org.riskscape.engine.function.IdentifiedFunction
-
wrapping
protected nz.org.riskscape.engine.function.RiskscapeFunction wrapping(nz.org.riskscape.engine.types.Type... newTypes) -
wrapping
protected nz.org.riskscape.engine.function.RiskscapeFunction wrapping(nz.org.riskscape.engine.function.FunctionArgument... newArgs) -
wrapping
protected nz.org.riskscape.engine.function.RiskscapeFunction wrapping(nz.org.riskscape.engine.function.ArgumentList args) -
getId
- Specified by:
getId
in interfacenz.org.riskscape.engine.Identified
-