public class Edge<ED>
extends Object
implements scala.Serializable, scala.Product
Modifier and Type | Method and Description |
---|---|
ED |
attr() |
abstract static boolean |
canEqual(Object that) |
long |
dstId() |
abstract static boolean |
equals(Object that) |
long |
otherVertexId(long vid)
Given one vertex in the edge return the other vertex.
|
abstract static int |
productArity() |
abstract static Object |
productElement(int n) |
static scala.collection.Iterator<Object> |
productIterator() |
static String |
productPrefix() |
EdgeDirection |
relativeDirection(long vid)
Return the relative direction of the edge to the corresponding
vertex.
|
long |
srcId() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public Edge(long srcId, long dstId, ED attr)
public abstract static boolean canEqual(Object that)
public abstract static boolean equals(Object that)
public abstract static Object productElement(int n)
public abstract static int productArity()
public static scala.collection.Iterator<Object> productIterator()
public static String productPrefix()
public long srcId()
public long dstId()
public ED attr()
public long otherVertexId(long vid)
vid
- the id one of the two vertices on the edge.public EdgeDirection relativeDirection(long vid)
vid
- the id of one of the two vertices in the edge.