protected class GraphDiff.GraphCleared extends GraphDiff.Event
Modifier and Type | Field and Description |
---|---|
(package private) byte[] |
data |
Constructor and Description |
---|
GraphCleared(Graph g) |
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() |
byte[] data
public GraphCleared(Graph g)
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