Package org.eclipse.jetty.deploy.graph
Class Path
- java.lang.Object
-
- org.eclipse.jetty.deploy.graph.Path
-
public class Path extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Path()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(Edge edge)intedges()EdgefirstEdge()NodefirstNode()PathforkPath()EdgegetEdge(int index)java.util.List<Node>getEdges()NodegetNode(int index)java.util.List<Node>getNodes()booleanisEmpty()EdgelastEdge()NodelastNode()intnodes()java.lang.StringtoString()
-
-
-
Method Detail
-
add
public void add(Edge edge)
-
forkPath
public Path forkPath()
-
getNodes
public java.util.List<Node> getNodes()
-
getEdges
public java.util.List<Node> getEdges()
-
getNode
public Node getNode(int index)
-
firstNode
public Node firstNode()
-
lastNode
public Node lastNode()
-
nodes
public int nodes()
-
edges
public int edges()
-
isEmpty
public boolean isEmpty()
-
firstEdge
public Edge firstEdge()
-
lastEdge
public Edge lastEdge()
-
getEdge
public Edge getEdge(int index)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-