Uses of Class
org.oristool.lello.Value
Packages that use Value
Package
Description
Parsing of input formulas.
Provides classes for AST representation.
-
Uses of Value in org.oristool.lello
Methods in org.oristool.lello that return ValueModifier and TypeMethodDescriptionstatic ValueImplements addition.static ValueImplements logical AND.Value.copy()Creates a copy of this object.static ValueImplements division.static ValueImplements equality comparison.Retrieves a value.static ValueImplements greater than comparison.static ValueImplements greater than or equal comparison.static ValueReturns a value as it is.static ValueReturns one of two values depending on a boolean condition.static ValueImplements less than comparison.static ValueImplements less than or equal comparison.static ValueFinds the maximum of a list of values.static ValueFinds the minimum of a list of values.static ValueImplements modulus (also floating point modulus).static ValueImplements multiplication.static ValueImplements unary minus.static ValueImplements inequality comparison.static ValueValue.nil()Returns the nil value.static ValueImplements logical NOT.static ValueJavaInterop.ObjectToValue(Object o) Converts a Java object to a Lello value.static ValueActs as a constant function which is always zero.static ValueImplements logical OR.static ValueValue.parseBoolean(String s) Creates a BOOLEAN value from a Java string.static ValueValue.parseInteger(String s) Creates an INTEGER value from a Java string.static ValueCreates a REAL value from a Java string.static ValueValue.parseString(String s) Creates a STRING value from a Java string.static ValueImplements unary plus.static ValueValueFuncs.PrintValue(String label, Value v) Writes a value preceded by a label to the shared PrintWriter; the value itself is also returned.static ValueImplements power.static ValueImplements subtraction.static ValueActs as a constant function which is always zero.Methods in org.oristool.lello that return types with arguments of type ValueMethods in org.oristool.lello with parameters of type ValueModifier and TypeMethodDescriptionstatic ValueImplements addition.static ValueImplements logical AND.static ValueImplements division.static ValueImplements equality comparison.static StringValueFuncs.GetTypeName(Value v) Retrieves the type name of a value.static ValueImplements greater than comparison.static ValueImplements greater than or equal comparison.static ValueReturns a value as it is.static ValueReturns one of two values depending on a boolean condition.static ValueImplements less than comparison.static ValueImplements less than or equal comparison.static ValueImplements modulus (also floating point modulus).static ValueImplements multiplication.static ValueImplements unary minus.static ValueImplements inequality comparison.static ValueImplements logical NOT.static ValueActs as a constant function which is always zero.static ValueImplements logical OR.static ValueImplements unary plus.static ValueValueFuncs.PrintValue(String label, Value v) Writes a value preceded by a label to the shared PrintWriter; the value itself is also returned.static ValueImplements power.voidAssigns a value to a variable.static ValueImplements subtraction.static StringConverts a value to STRING.static ObjectJavaInterop.ValueToObject(Value v) Converts a Lello value to a Java object.static ObjectJavaInterop.ValueToObject(Value v, Class<?> a) Converts a Lello value to a Java object of a specific class.static ValueActs as a constant function which is always zero.Method parameters in org.oristool.lello with type arguments of type Value -
Uses of Value in org.oristool.lello.ast
Methods in org.oristool.lello.ast that return ValueModifier and TypeMethodDescriptionabstract ValueEvaluates this expression using the specified variable bindings.Constant.getValue()Retrieves the value of this constant.Methods in org.oristool.lello.ast with parameters of type ValueModifier and TypeMethodDescriptionstatic final booleanExpression.isOneNumber(Value x) Checks whether a value is equal to 1 (with respect to the EPSILON tolerance).static final booleanExpression.isZeroNumber(Value x) Checks whether a value is equal to 0 (with respect to the EPSILON tolerance).Constructors in org.oristool.lello.ast with parameters of type Value