public class EdgeTriplet<VD,ED> extends Edge<ED>
Constructor and Description |
---|
EdgeTriplet() |
Modifier and Type | Method and Description |
---|---|
VD |
dstAttr()
The destination vertex attribute
|
VD |
otherVertexAttr(long vid)
Given one vertex in the edge return the other vertex.
|
protected EdgeTriplet<VD,ED> |
set(Edge<ED> other)
Set the edge properties of this triplet.
|
VD |
srcAttr()
The source vertex attribute
|
java.lang.String |
toString() |
scala.Tuple3<scala.Tuple2<java.lang.Object,VD>,scala.Tuple2<java.lang.Object,VD>,ED> |
toTuple() |
VD |
vertexAttr(long vid)
Get the vertex object for the given vertex in the edge.
|
attr, dstId, otherVertexId, relativeDirection, srcId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public VD srcAttr()
public VD dstAttr()
protected EdgeTriplet<VD,ED> set(Edge<ED> other)
other
- (undocumented)public VD otherVertexAttr(long vid)
vid
- the id one of the two vertices on the edgepublic VD vertexAttr(long vid)
vid
- the id of one of the two vertices on the edgepublic java.lang.String toString()
toString
in class java.lang.Object