org.neuroph.util.plugins
Class LabelsPlugin
java.lang.Object
org.neuroph.util.plugins.PluginBase
org.neuroph.util.plugins.LabelsPlugin
- All Implemented Interfaces:
- java.io.Serializable
public class LabelsPlugin
- extends PluginBase
- See Also:
- Serialized Form
Field Summary |
private java.util.Map<java.lang.Object,java.lang.String> |
labels
Collection of labels for the neural network components |
static java.lang.String |
LABELS_PLUGIN_NAME
|
private java.lang.String |
neuralNetworkLabel
Field for neural network label
This field is required to solve the java bug described at
http://bugs.sun.com/view_bug.do?bug_id=4957674 |
private static long |
serialVersionUID
The class fingerprint that is set to indicate serialization
compatibility with a previous version of the class. |
Method Summary |
java.lang.String |
getLabel(java.lang.Object object)
Returns label for the specified object |
void |
setLabel(java.lang.Object object,
java.lang.String label)
Sets label for the specified object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LABELS_PLUGIN_NAME
public static final java.lang.String LABELS_PLUGIN_NAME
- See Also:
- Constant Field Values
serialVersionUID
private static final long serialVersionUID
- The class fingerprint that is set to indicate serialization
compatibility with a previous version of the class.
- See Also:
- Constant Field Values
labels
private java.util.Map<java.lang.Object,java.lang.String> labels
- Collection of labels for the neural network components
neuralNetworkLabel
private java.lang.String neuralNetworkLabel
- Field for neural network label
This field is required to solve the java bug described at
http://bugs.sun.com/view_bug.do?bug_id=4957674
LabelsPlugin
public LabelsPlugin()
getLabel
public java.lang.String getLabel(java.lang.Object object)
- Returns label for the specified object
- Parameters:
object
- object for which label should be returned
- Returns:
- label for the specified object
setLabel
public void setLabel(java.lang.Object object,
java.lang.String label)
- Sets label for the specified object
- Parameters:
object
- object to set labellabel
- label to set