Class representing the dynamic set difference L - R of two graphs. This is updatable; the updates are written through to one or other of the base graphs.
Fields inherited from class org.apache.jena.graph.impl.GraphBase
Method SummaryModifier and TypeMethodDescription
voidAdd a triple to the difference: add it to the left operand, and remove it from the right operand.
voidRemove a triple from the difference: remove it from the left operand.
Methods inherited from class org.apache.jena.graph.compose.Dyadic
close, dependsOn, getL, getR, union
Methods inherited from class org.apache.jena.graph.compose.CompositionBase
butNot, ifIn, ifIn, recording, reject, rejecting, rejecting
Methods inherited from class org.apache.jena.graph.impl.GraphBase
add, clear, contains, contains, delete, find, find, forTestingOnly_graphBaseFind, getCapabilities, getEventManager, getPrefixMapping, getTransactionHandler, isClosed, isEmpty, isIsomorphicWith, notifyAdd, notifyDelete, remove, size, toString, toString
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
DifferenceInitialise a graph representing the difference L - R.
performAddpublic void performAdd
(Triple t)Add a triple to the difference: add it to the left operand, and remove it from the right operand.
performDeletepublic void performDelete
(Triple t)Remove a triple from the difference: remove it from the left operand. [It could be added to the right operand instead, but somehow that feels less satisfactory.]