use of org.apache.jena.graph.impl.GraphWithPerform in project jena by apache.
the class GraphUtil method add.
public static void add(Graph graph, Triple[] triples) {
if (OldStyle && graph instanceof GraphWithPerform) {
GraphWithPerform g = (GraphWithPerform) graph;
for (Triple t : triples) g.performAdd(t);
graph.getEventManager().notifyAddArray(graph, triples);
} else {
for (Triple t : triples) graph.add(t);
}
}
Aggregations