public class Difference extends Dyadic implements Graph
TOSTRING_TRIPLE_BASE, TOSTRING_TRIPLE_LIMIT
emptyGraph
Constructor and Description |
---|
Difference(Graph L,
Graph R)
Initialise a graph representing the difference L - R.
|
Modifier and Type | Method and Description |
---|---|
ExtendedIterator<Triple> |
_graphBaseFind(Triple t)
The method that the overridden graphBaseFind( TripleMatch m ) calls to actually
do the work of finding.
|
void |
performAdd(Triple t)
Add a triple to the difference: add it to the left operand, and remove it from the
right operand.
|
void |
performDelete(Triple t)
Remove a triple from the difference: remove it from the left operand.
|
close, dependsOn, getL, getR, union
butNot, ifIn, ifIn, recording, reject, rejecting, rejecting
add, clear, contains, contains, delete, find, find, forTestingOnly_graphBaseFind, getCapabilities, getEventManager, getPrefixMapping, getStatisticsHandler, getTransactionHandler, isClosed, isEmpty, isIsomorphicWith, notifyAdd, notifyDelete, remove, size, toString, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
add, clear, close, contains, contains, delete, dependsOn, find, find, find, getCapabilities, getEventManager, getPrefixMapping, getStatisticsHandler, getTransactionHandler, isClosed, isEmpty, isIsomorphicWith, remove, size
public void performAdd(Triple t)
performAdd
in interface GraphWithPerform
performAdd
in class GraphBase
public void performDelete(Triple t)
performDelete
in interface GraphWithPerform
performDelete
in class GraphBase
public ExtendedIterator<Triple> _graphBaseFind(Triple t)
Dyadic
Licenced under the Apache License, Version 2.0