public class OperandFactory extends Object
| Modifier and Type | Method | Description |
|---|---|---|
static Operand |
createOperand(OperandType operandType,
String expressionString,
OperationType[] unaryOperationsToBeApplied,
Expression expression) |
Factory class for the creation of Operands.
|
static OperationResultOperand |
createOperationResult(Class type,
Object value) |
|
static UnaryOperationWrapperOperand |
createUnaryOperand(Operand operand,
OperationType operationType) |
public static Operand createOperand(OperandType operandType, 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(Class type, Object value)
public static UnaryOperationWrapperOperand createUnaryOperand(Operand operand, OperationType operationType)
Copyright © 2017–2020 Holisticon AG. All rights reserved.