public class Node extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Node.Parser |
Constructor and Description |
---|
Node() |
Node(int node,
int[] neighbours) |
Modifier and Type | Method and Description |
---|---|
List<String> |
getNeighbourNames() |
int[] |
getNeighbours() |
int |
getNode() |
void |
setNeighbours(int[] neighbours) |
void |
setNode(int node) |
public int getNode()
public void setNode(int node)
node
- the node to setpublic int[] getNeighbours()
public void setNeighbours(int[] neighbours)
neighbours
- the neighbours to setCopyright © 2013. All rights reserved.