public class Path
extends java.lang.Object
| Constructor | Description |
|---|---|
Path() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
add(Edge edge) |
|
int |
edges() |
|
Edge |
firstEdge() |
|
Node |
firstNode() |
|
Path |
forkPath() |
|
Edge |
getEdge(int index) |
|
java.util.List<Node> |
getEdges() |
|
Node |
getNode(int index) |
|
java.util.List<Node> |
getNodes() |
|
boolean |
isEmpty() |
|
Edge |
lastEdge() |
|
Node |
lastNode() |
|
int |
nodes() |
|
java.lang.String |
toString() |
public void add(Edge edge)
public Path forkPath()
public java.util.List<Node> getNodes()
public java.util.List<Node> getEdges()
public Node getNode(int index)
public Node firstNode()
public Node lastNode()
public int nodes()
public int edges()
public boolean isEmpty()
public Edge firstEdge()
public Edge lastEdge()
public Edge getEdge(int index)
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 1995–2018 Webtide. All rights reserved.