public class Path extends Object
Constructor and Description |
---|
Path() |
Modifier and Type | Method and Description |
---|---|
void |
add(Edge edge) |
int |
edges() |
Edge |
firstEdge() |
Node |
firstNode() |
Path |
forkPath() |
Edge |
getEdge(int index) |
List<Node> |
getEdges() |
Node |
getNode(int index) |
List<Node> |
getNodes() |
boolean |
isEmpty() |
Edge |
lastEdge() |
Node |
lastNode() |
int |
nodes() |
String |
toString() |
public void add(Edge edge)
public Path forkPath()
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)
Copyright © 1995-2015 Webtide. All Rights Reserved.