org.w3c.rdf.util
Class SetOperations

java.lang.Object
  |
  +--org.w3c.rdf.util.SetOperations

public class SetOperations
extends java.lang.Object

An implementation of set operations on models. Every of these static methods first attempts to use the native implementation provided by the model if any.


Constructor Summary
SetOperations()
           
 
Method Summary
static void copy(Model src, Model dest)
           
static Model difference(Model m1, Model m2)
           
static void intersect(Model m1, Model m2)
           
static Model intersection(Model m1, Model m2)
           
static void subtract(Model m1, Model m2)
           
static Model union(Model m1, Model m2)
           
static void unite(Model m1, Model m2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetOperations

public SetOperations()
Method Detail

copy

public static void copy(Model src,
                        Model dest)
                 throws ModelException

union

public static Model union(Model m1,
                          Model m2)
                   throws ModelException

unite

public static void unite(Model m1,
                         Model m2)
                  throws ModelException

difference

public static Model difference(Model m1,
                               Model m2)
                        throws ModelException

subtract

public static void subtract(Model m1,
                            Model m2)
                     throws ModelException

intersection

public static Model intersection(Model m1,
                                 Model m2)
                          throws ModelException

intersect

public static void intersect(Model m1,
                             Model m2)
                      throws ModelException