fr.expression4j.core.impl
Class TreeElement
java.lang.Object
fr.expression4j.core.impl.TreeElement
public class TreeElement
- extends java.lang.Object
element of the final expression tree.
- Author:
- SGINER
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TREE_ELEMENT_TYPE_OPERATOR_NOT_DEFINE
public static final int TREE_ELEMENT_TYPE_OPERATOR_NOT_DEFINE
- See Also:
- Constant Field Values
TREE_ELEMENT_TYPE_VALUE
public static final int TREE_ELEMENT_TYPE_VALUE
- See Also:
- Constant Field Values
TREE_ELEMENT_TYPE_BINARY_OPERATOR
public static final int TREE_ELEMENT_TYPE_BINARY_OPERATOR
- See Also:
- Constant Field Values
TREE_ELEMENT_TYPE_UNARY_OPERATOR
public static final int TREE_ELEMENT_TYPE_UNARY_OPERATOR
- See Also:
- Constant Field Values
TREE_ELEMENT_TYPE_EXPRESSION_ELEMENT
public static final int TREE_ELEMENT_TYPE_EXPRESSION_ELEMENT
- See Also:
- Constant Field Values
TreeElement
public TreeElement(int type,
TreeElement leftElement,
TreeElement rightElement,
MathematicalElement value,
java.lang.String expressionElementName,
java.lang.String stringElement,
java.lang.Object expressionElementProperties)
getElementType
public int getElementType()
getLeftElement
public TreeElement getLeftElement()
getRightElement
public TreeElement getRightElement()
getValue
public MathematicalElement getValue()
getStringElement
public java.lang.String getStringElement()
setElementType
public void setElementType(int elementType)
setLeftElement
public void setLeftElement(TreeElement leftElement)
setRightElement
public void setRightElement(TreeElement rightElement)
setValue
public void setValue(MathematicalElement value)
setStringElement
public void setStringElement(java.lang.String variable)
getExpressionElementProperties
public java.lang.Object getExpressionElementProperties()
setExpressionElementProperties
public void setExpressionElementProperties(java.lang.Object properties)
getExpressionElementName
public java.lang.String getExpressionElementName()