public class FunctionExample extends Object
"Hi " & "there" "Hi there" 1 Simple concatenation. "H" & "" "H" 1 Concatenating an empty string produces no change. -5&"b" -5b 1 Unary - has higher precedence than & 3&2-1 31 1 Binary - has higher precedence than &
Constructor and Description |
---|
FunctionExample(Node node) |
FunctionExample(String expression,
String result,
String level,
String comment) |
Modifier and Type | Method and Description |
---|---|
String |
getComment() |
String |
getExpression() |
String |
getLevel() |
String |
getResult() |
void |
setComment(String comment) |
void |
setExpression(String expression) |
void |
setLevel(String level) |
void |
setResult(String result) |
public static final String XML_TAG
public FunctionExample(String expression, String result, String level, String comment)
public FunctionExample(Node node)
public String getExpression()
public void setExpression(String expression)
expression
- the expression to setpublic String getResult()
public void setResult(String result)
result
- the result to setpublic String getLevel()
public void setLevel(String level)
level
- the level to setpublic String getComment()
public void setComment(String comment)
comment
- the comment to setCopyright © 2018 Hitachi Vantara. All rights reserved.