public class Union extends Dyadic implements Graph
MultiUnionTOSTRING_TRIPLE_BASE, TOSTRING_TRIPLE_LIMITemptyGraph| Modifier and Type | Method and Description |
|---|---|
boolean |
graphBaseContains(Triple t)
Answer true if the graph contains any triple matching
t. |
void |
performAdd(Triple t)
To add a triple to the union, add it to the left operand; this is asymmetric.
|
void |
performDelete(Triple t)
To remove a triple, remove it from both operands.
|
close, dependsOn, getL, getR, unionbutNot, ifIn, ifIn, recording, reject, rejecting, rejectingadd, clear, contains, contains, delete, find, find, forTestingOnly_graphBaseFind, getCapabilities, getEventManager, getPrefixMapping, getStatisticsHandler, getTransactionHandler, isClosed, isEmpty, isIsomorphicWith, notifyAdd, notifyDelete, remove, size, toString, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitadd, clear, close, contains, contains, delete, dependsOn, find, find, getCapabilities, getEventManager, getPrefixMapping, getStatisticsHandler, getTransactionHandler, isClosed, isEmpty, isIsomorphicWith, remove, sizepublic void performAdd(Triple t)
performAdd in interface org.apache.jena.graph.impl.GraphWithPerformperformAdd in class org.apache.jena.graph.impl.GraphBasepublic void performDelete(Triple t)
performDelete in interface org.apache.jena.graph.impl.GraphWithPerformperformDelete in class org.apache.jena.graph.impl.GraphBasepublic boolean graphBaseContains(Triple t)
org.apache.jena.graph.impl.GraphBaset.
The default implementation uses find and checks to see
if the iterator is non-empty.graphBaseContains in class org.apache.jena.graph.impl.GraphBaseLicenced under the Apache License, Version 2.0