Uses of Class
org.pipservices3.expressions.variants.Variant
Packages that use Variant
Package
Description
-
Uses of Variant in org.pipservices3.expressions.calculator
Methods in org.pipservices3.expressions.calculator that return VariantModifier and TypeMethodDescriptionExpressionCalculator.evaluate()
Evaluates this expression using default variables and functions.ExpressionCalculator.evaluateWithVariables
(IVariableCollection variables) Evaluates this expression using specified variables.ExpressionCalculator.evaluateWithVariablesAndFunctions
(IVariableCollection variables, IFunctionCollection functions) Evaluates this expression using specified variables and functions.CalculationStack.peek()
CalculationStack.peekAt
(int index) CalculationStack.pop()
Methods in org.pipservices3.expressions.calculator with parameters of type Variant -
Uses of Variant in org.pipservices3.expressions.calculator.functions
Methods in org.pipservices3.expressions.calculator.functions that return VariantModifier and TypeMethodDescriptionFunctionCalculator.apply
(List<Variant> params, IVariantOperations variantOperations) DelegatedFunction.calculate
(List<Variant> params, IVariantOperations variantOperations) The function calculation method.IFunction.calculate
(List<Variant> params, IVariantOperations variantOperations) The function calculation method.protected Variant
DefaultFunctionCollection.getParameter
(List<Variant> params, int paramIndex) Gets function parameter by it's index.Method parameters in org.pipservices3.expressions.calculator.functions with type arguments of type VariantModifier and TypeMethodDescriptionFunctionCalculator.apply
(List<Variant> params, IVariantOperations variantOperations) DelegatedFunction.calculate
(List<Variant> params, IVariantOperations variantOperations) The function calculation method.IFunction.calculate
(List<Variant> params, IVariantOperations variantOperations) The function calculation method.protected void
DefaultFunctionCollection.checkParamCount
(List<Variant> params, int expectedParamCount) Checks if params contains the correct number of function parameters (must be stored on the top of the params).protected Variant
DefaultFunctionCollection.getParameter
(List<Variant> params, int paramIndex) Gets function parameter by it's index. -
Uses of Variant in org.pipservices3.expressions.calculator.parsers
Methods in org.pipservices3.expressions.calculator.parsers that return VariantConstructors in org.pipservices3.expressions.calculator.parsers with parameters of type VariantModifierConstructorDescriptionExpressionToken
(ExpressionTokenType type, Variant value, int line, int column) Creates an instance of this token and initializes it with specified values. -
Uses of Variant in org.pipservices3.expressions.calculator.variables
Methods in org.pipservices3.expressions.calculator.variables that return VariantModifier and TypeMethodDescriptionIVariable.getValue()
Get the variable value.Variable.getValue()
The variable value.Methods in org.pipservices3.expressions.calculator.variables with parameters of type VariantModifier and TypeMethodDescriptionvoid
Set the variable value.void
The variable value.Constructors in org.pipservices3.expressions.calculator.variables with parameters of type Variant -
Uses of Variant in org.pipservices3.expressions.variants
Fields in org.pipservices3.expressions.variants declared as VariantMethods in org.pipservices3.expressions.variants that return VariantModifier and TypeMethodDescriptionPerforms '+' operation for two variants.Performs '+' operation for two variants.Performs AND operation for two variants.Performs AND operation for two variants.Variant.clone()
Cloning the variant valueabstract Variant
AbstractVariantOperations.convert
(Variant value, VariantType newType) Converts variant to specified typeIVariantOperations.convert
(Variant value, VariantType newType) Converts variant to specified typeTypeSafeVariantOperations.convert
(Variant value, VariantType newType) Converts variant to specified typeTypeUnsafeVariantOperations.convert
(Variant value, VariantType newType) Converts variant to specified typePerforms '/' operation for two variants.Performs '/' operation for two variants.Performs '=' operation for two variants.Performs '=' operation for two variants.static Variant
Creates a new variant from Array value.static Variant
Variant.fromBoolean
(boolean value) Creates a new variant from Boolean value.static Variant
Variant.fromDateTime
(ZonedDateTime value) Creates a new variant from DateTime value.static Variant
Variant.fromDouble
(Double value) Creates a new variant from Double value.static Variant
Creates a new variant from Float value.static Variant
Variant.fromInteger
(Integer value) Creates a new variant from Integer value.static Variant
Creates a new variant from Long value.static Variant
Variant.fromObject
(Object value) Creates a new variant from Object value.static Variant
Variant.fromString
(String value) Creates a new variant from String value.static Variant
Variant.fromTimeSpan
(Long value) Creates a new variant from TimeSpan value.Variant.getByIndex
(int index) Gets an array element by its index.AbstractVariantOperations.getElement
(Variant value1, Variant value2) Performs [] operation for two variants.IVariantOperations.getElement
(Variant value1, Variant value2) Performs [] operation for two variants.Performs IN operation for two variants.Performs IN operation for two variants.Performs '<' operation for two variants.Performs '<' operation for two variants.Performs '<=' operation for two variants.Performs '<=' operation for two variants.Performs '<<' operation for two variants.Performs << operation for two variants.Performs '%' operation for two variants.Performs '%' operation for two variants.Performs '>' operation for two variants.Performs '>' operation for two variants.Performs '>=' operation for two variants.Performs '>=' operation for two variants.Performs '*' operation for two variants.Performs '*' operation for two variants.Performs unary '-' operation for a variant.Performs unary '-' operation for a variant.Performs NOT operation for a variant.Performs NOT operation for a variant.Performs '<>' operation for two variants.Performs '<>' operation for two variants.Performs OR operation for two variants.Performs OR operation for two variants.Performs '^' operation for two variants.Performs '^' operation for two variants.Performs '>>' operation for two variants.Performs >> operation for two variants.Performs '-' operation for two variants.Performs '-' operation for two variants.Performs XOR operation for two variants.Performs XOR operation for two variants.Methods in org.pipservices3.expressions.variants that return types with arguments of type VariantMethods in org.pipservices3.expressions.variants with parameters of type VariantModifier and TypeMethodDescriptionPerforms '+' operation for two variants.Performs '+' operation for two variants.Performs AND operation for two variants.Performs AND operation for two variants.void
Assignes a new value to this object.abstract Variant
AbstractVariantOperations.convert
(Variant value, VariantType newType) Converts variant to specified typeIVariantOperations.convert
(Variant value, VariantType newType) Converts variant to specified typeTypeSafeVariantOperations.convert
(Variant value, VariantType newType) Converts variant to specified typeTypeUnsafeVariantOperations.convert
(Variant value, VariantType newType) Converts variant to specified typePerforms '/' operation for two variants.Performs '/' operation for two variants.Performs '=' operation for two variants.Performs '=' operation for two variants.AbstractVariantOperations.getElement
(Variant value1, Variant value2) Performs [] operation for two variants.IVariantOperations.getElement
(Variant value1, Variant value2) Performs [] operation for two variants.Performs IN operation for two variants.Performs IN operation for two variants.Performs '<' operation for two variants.Performs '<' operation for two variants.Performs '<=' operation for two variants.Performs '<=' operation for two variants.Performs '<<' operation for two variants.Performs << operation for two variants.Performs '%' operation for two variants.Performs '%' operation for two variants.Performs '>' operation for two variants.Performs '>' operation for two variants.Performs '>=' operation for two variants.Performs '>=' operation for two variants.Performs '*' operation for two variants.Performs '*' operation for two variants.Performs unary '-' operation for a variant.Performs unary '-' operation for a variant.Performs NOT operation for a variant.Performs NOT operation for a variant.Performs '<>' operation for two variants.Performs '<>' operation for two variants.Performs OR operation for two variants.Performs OR operation for two variants.Performs '^' operation for two variants.Performs '^' operation for two variants.Performs '>>' operation for two variants.Performs >> operation for two variants.void
Variant.setByIndex
(int index, Variant element) Sets an array element by its index.Performs '-' operation for two variants.Performs '-' operation for two variants.Performs XOR operation for two variants.Performs XOR operation for two variants.Method parameters in org.pipservices3.expressions.variants with type arguments of type Variant