protected class GraphDiff.EdgeAdded extends GraphDiff.Event
Modifier and Type | Field and Description |
---|---|
(package private) boolean |
directed |
(package private) String |
edgeId |
(package private) String |
source |
(package private) String |
target |
Constructor and Description |
---|
EdgeAdded(String edgeId,
String source,
String target,
boolean directed) |
Modifier and Type | Method and Description |
---|---|
void |
apply(String sourceId,
long timeId,
Sink g)
Apply this event on a given graph.
|
void |
reverse(String sourceId,
long timeId,
Sink g)
Apply the dual event on a given graph.
|
String |
toString() |
boolean directed
public void apply(String sourceId, long timeId, Sink g)
GraphDiff.Event
apply
in class GraphDiff.Event
g
- the graph on which the action should be appliedpublic void reverse(String sourceId, long timeId, Sink g)
GraphDiff.Event
reverse
in class GraphDiff.Event
g
- the graph on which the dual action should be applied.WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses