public class OperandFactory
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static Operand |
createOperand(OperandType operandType,
java.lang.String expressionString,
OperationType[] unaryOperationsToBeApplied,
Expression expression)
Factory class for the creation of Operands.
|
static OperationResultOperand |
createOperationResult(java.lang.Class type,
java.lang.Object value) |
static UnaryOperationWrapperOperand |
createUnaryOperand(Operand operand,
OperationType operationType) |
public static Operand createOperand(OperandType operandType, java.lang.String expressionString, OperationType[] unaryOperationsToBeApplied, Expression expression)
operandType - the detected operand typeexpressionString - the operands string representation parsed from expressions stringexpression - Just used for OperandType EXPRESSIONpublic static OperationResultOperand createOperationResult(java.lang.Class type, java.lang.Object value)
public static UnaryOperationWrapperOperand createUnaryOperand(Operand operand, OperationType operationType)
Copyright © 2017 Holisticon AG. All Rights Reserved.