V
- the data type of the valuepublic class ValueNode<V> extends Object
Class which holds all data for a specific value.
Constructor and Description |
---|
ValueNode()
Default 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 V getValue()
Getter for value.
public void setValue(V value)
Setter for value.
value
- the valuepublic String getCode()
Getter for code.
public void setCode(String code)
Setter for code.
code
- the codepublic String getText()
Getter for text.
public void setText(String text)
Setter for text.
text
- the textCopyright © 2016. All rights reserved.