2016/05/28 - Apache Tuscany has been retired.
For more information, please explore the Attic.
org.apache.tuscany.sca.databinding.impl
Class DirectedGraph.Edge
java.lang.Object
org.apache.tuscany.sca.databinding.impl.DirectedGraph.Edge
- Enclosing class:
- DirectedGraph<V,E>
public final class DirectedGraph.Edge
- extends java.lang.Object
An Edge connects two vertices in one direction
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DirectedGraph.Edge
public DirectedGraph.Edge(DirectedGraph.Vertex source,
DirectedGraph.Vertex target,
E value,
int weight,
boolean pub)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getValue
public E getValue()
setValue
public void setValue(E value)
getTargetVertex
public DirectedGraph.Vertex getTargetVertex()
setTargetVertex
public void setTargetVertex(DirectedGraph.Vertex vertex)
getWeight
public int getWeight()
setWeight
public void setWeight(int weight)
getSourceVertex
public DirectedGraph.Vertex getSourceVertex()
setSourceVertex
public void setSourceVertex(DirectedGraph.Vertex sourceVertex)
isPublic
public boolean isPublic()
setPublic
public void setPublic(boolean pub)