public abstract class Edge extends Object
Modifier | Constructor and Description |
---|---|
protected |
Edge(NodeId fromId,
NodeId toId) |
Modifier and Type | Method and Description |
---|---|
abstract Edge |
copy(NodeId fromId,
NodeId toId)
Returns a copy of the edge with new node IDs.
|
boolean |
equals(Object obj) |
NodeId |
getFromId() |
NodeId |
getToId() |
int |
hashCode() |