NumericConstant

A numeric constant variable that always evaluates to the same value.

This class is a lightweight implementation of DependentVariable that represents a fixed numeric value. Nullability has been removed: a numeric constant must hold a non-null Number.

Parameters

value

the numeric value returned by this variable

Constructors

Link copied to clipboard
constructor(value: Number)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun getWith(variables: Map<String, Any>): Number

Given the current controlled variables, computes the current values for this variable.