public abstract class AbstractNode extends Object implements Node
| Constructor and Description |
|---|
AbstractNode(int id) |
AbstractNode(int id,
String name) |
| Modifier and Type | Method and Description |
|---|---|
int |
getId()
Returns the node's unique id.
|
String |
getName()
Returns the node's name.
|
String |
toString() |
public AbstractNode(int id)
public AbstractNode(int id,
String name)
public int getId()
NodeGraph.public String getName()
NodeCopyright © 2018. All rights reserved.