Uses of Class
org.oristool.lello.Value
Package
Description
Parsing of input formulas.
Provides classes for AST representation.
-
Uses of Value in org.oristool.lello
Modifier and TypeMethodDescriptionstatic Value
Implements addition.static Value
Implements logical AND.Value.copy()
Creates a copy of this object.static Value
Implements division.static Value
Implements equality comparison.Retrieves a value.static Value
Implements greater than comparison.static Value
Implements greater than or equal comparison.static Value
Returns a value as it is.static Value
Returns one of two values depending on a boolean condition.static Value
Implements less than comparison.static Value
Implements less than or equal comparison.static Value
Finds the maximum of a list of values.static Value
Finds the minimum of a list of values.static Value
Implements modulus (also floating point modulus).static Value
Implements multiplication.static Value
Implements unary minus.static Value
Implements inequality comparison.static Value
Value.nil()
Returns the nil value.static Value
Implements logical NOT.static Value
JavaInterop.ObjectToValue
(Object o) Converts a Java object to a Lello value.static Value
Acts as a constant function which is always zero.static Value
Implements logical OR.static Value
Value.parseBoolean
(String s) Creates a BOOLEAN value from a Java string.static Value
Value.parseInteger
(String s) Creates an INTEGER value from a Java string.static Value
Creates a REAL value from a Java string.static Value
Value.parseString
(String s) Creates a STRING value from a Java string.static Value
Implements unary plus.static Value
ValueFuncs.PrintValue
(String label, Value v) Writes a value preceded by a label to the shared PrintWriter; the value itself is also returned.static Value
Implements power.static Value
Implements subtraction.static Value
Acts as a constant function which is always zero.Modifier and TypeMethodDescriptionstatic Value
Implements addition.static Value
Implements logical AND.static Value
Implements division.static Value
Implements equality comparison.static String
ValueFuncs.GetTypeName
(Value v) Retrieves the type name of a value.static Value
Implements greater than comparison.static Value
Implements greater than or equal comparison.static Value
Returns a value as it is.static Value
Returns one of two values depending on a boolean condition.static Value
Implements less than comparison.static Value
Implements less than or equal comparison.static Value
Implements modulus (also floating point modulus).static Value
Implements multiplication.static Value
Implements unary minus.static Value
Implements inequality comparison.static Value
Implements logical NOT.static Value
Acts as a constant function which is always zero.static Value
Implements logical OR.static Value
Implements unary plus.static Value
ValueFuncs.PrintValue
(String label, Value v) Writes a value preceded by a label to the shared PrintWriter; the value itself is also returned.static Value
Implements power.void
Assigns a value to a variable.static Value
Implements subtraction.static String
Converts a value to STRING.static Object
JavaInterop.ValueToObject
(Value v) Converts a Lello value to a Java object.static Object
JavaInterop.ValueToObject
(Value v, Class<?> a) Converts a Lello value to a Java object of a specific class.static Value
Acts as a constant function which is always zero. -
Uses of Value in org.oristool.lello.ast
Modifier and TypeMethodDescriptionabstract Value
Evaluates this expression using the specified variable bindings.Constant.getValue()
Retrieves the value of this constant.Modifier and TypeMethodDescriptionstatic final boolean
Expression.isOneNumber
(Value x) Checks whether a value is equal to 1 (with respect to the EPSILON tolerance).static final boolean
Expression.isZeroNumber
(Value x) Checks whether a value is equal to 0 (with respect to the EPSILON tolerance).