public interface MutableEdgeModel extends EdgeModel
Modifier and Type | Method and Description |
---|---|
boolean |
acceptHead(java.lang.Object edge,
java.lang.Object head)
Return whether or not the given node is a valid
head of this edge.
|
boolean |
acceptTail(java.lang.Object edge,
java.lang.Object tail)
Return whether or not the given node is a valid
tail of this edge.
|
void |
setHead(java.lang.Object edge,
java.lang.Object head)
Set the node that this edge points to.
|
void |
setTail(java.lang.Object edge,
java.lang.Object tail)
Set the node that this edge stems from.
|
getHead, getTail, isDirected
boolean acceptHead(java.lang.Object edge, java.lang.Object head)
boolean acceptTail(java.lang.Object edge, java.lang.Object tail)
void setHead(java.lang.Object edge, java.lang.Object head)
void setTail(java.lang.Object edge, java.lang.Object tail)