|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hp.hpl.jena.graph.impl.GraphBase com.hp.hpl.jena.graph.compose.CompositionBase com.hp.hpl.jena.graph.compose.Dyadic com.hp.hpl.jena.graph.compose.Difference
public class Difference
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.
Field Summary |
---|
Fields inherited from class com.hp.hpl.jena.graph.impl.GraphBase |
---|
TOSTRING_TRIPLE_BASE, TOSTRING_TRIPLE_LIMIT |
Fields inherited from interface com.hp.hpl.jena.graph.Graph |
---|
emptyGraph |
Constructor Summary | |
---|---|
Difference(Graph L,
Graph R)
Initialise a graph representing the difference L - R. |
Method Summary | |
---|---|
com.hp.hpl.jena.util.iterator.ExtendedIterator<Triple> |
graphBaseFind(TripleMatch t)
|
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. |
Methods inherited from class com.hp.hpl.jena.graph.compose.Dyadic |
---|
close, dependsOn, getL, getR, union |
Methods inherited from class com.hp.hpl.jena.graph.compose.CompositionBase |
---|
butNot, ifIn, ifIn, recording, reject, rejecting, rejecting |
Methods inherited from class com.hp.hpl.jena.graph.impl.GraphBase |
---|
add, contains, contains, delete, find, find, forTestingOnly_graphBaseFind, getBulkUpdateHandler, getCapabilities, getEventManager, getPrefixMapping, getReifier, getStatisticsHandler, getTransactionHandler, isClosed, isEmpty, isIsomorphicWith, notifyAdd, notifyDelete, queryHandler, size, toString, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.hp.hpl.jena.graph.Graph |
---|
close, contains, contains, delete, dependsOn, find, find, getBulkUpdateHandler, getCapabilities, getEventManager, getPrefixMapping, getReifier, getStatisticsHandler, getTransactionHandler, isClosed, isEmpty, isIsomorphicWith, queryHandler, size |
Methods inherited from interface com.hp.hpl.jena.graph.GraphAdd |
---|
add |
Constructor Detail |
---|
public Difference(Graph L, Graph R)
Method Detail |
---|
public void performAdd(Triple t)
performAdd
in interface com.hp.hpl.jena.graph.impl.GraphWithPerform
performAdd
in class com.hp.hpl.jena.graph.impl.GraphBase
public void performDelete(Triple t)
performDelete
in interface com.hp.hpl.jena.graph.impl.GraphWithPerform
performDelete
in class com.hp.hpl.jena.graph.impl.GraphBase
public com.hp.hpl.jena.util.iterator.ExtendedIterator<Triple> graphBaseFind(TripleMatch t)
graphBaseFind
in class com.hp.hpl.jena.graph.impl.GraphBase
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |