V - the data type of the valuepublic class ValueNode<V> extends Object
| Constructor and Description |
|---|
ValueNode()
Default constructor.
|
ValueNode(ValueNode<V> value)
Copy constructor.
|
ValueNode(V value,
String code,
String text)
Overloaded constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCode()
Getter for code.
|
String |
getText()
Getter for text.
|
V |
getValue()
Getter for value.
|
int |
hashCode() |
void |
setCode(String code)
Setter for code.
|
void |
setText(String text)
Setter for text.
|
void |
setValue(V value)
Setter for value.
|
String |
toString() |
public ValueNode()
public ValueNode(V value, String code, String text)
value - the valuecode - the codetext - the textpublic V getValue()
public void setValue(V value)
value - the valuepublic String getCode()
public void setCode(String code)
code - the codepublic String getText()
public void setText(String text)
text - the textCopyright © 2016. All rights reserved.