org.jrdf.graph.operation
Interface Union

All Superinterfaces:
SetOperation

public interface Union
extends SetOperation

The set union of two graphs - all of the items in the first graph are added to the second graph (no duplicates).

In the case of blank nodes, as noted in 1.5 in the RDF Semantics Document (http://www.w3.org/TR/rdf-mt/#unlabel) a union of two graphs corresponds to a conjunction. The merge of two separate graphs, graphs from two different sources, results in a merge - where all blank nodes will retain their identity.

Version:
$Revision: 1804 $
Author:
Andrew Newman

Method Summary
 Graph perform(Graph a, Graph b)
           
 

Method Detail

perform

Graph perform(Graph a,
              Graph b)
Specified by:
perform in interface SetOperation