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 RDFModel difference(RDFModel m1, RDFModel m2)
           
static void intersect(RDFModel m1, RDFModel m2)
           
static RDFModel intersection(RDFModel m1, RDFModel m2)
           
static void subtract(RDFModel m1, RDFModel m2)
           
static RDFModel union(RDFModel m1, RDFModel m2)
           
static void unite(RDFModel m1, RDFModel 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

union

public static RDFModel union(RDFModel m1,
                             RDFModel m2)

unite

public static void unite(RDFModel m1,
                         RDFModel m2)

difference

public static RDFModel difference(RDFModel m1,
                                  RDFModel m2)

subtract

public static void subtract(RDFModel m1,
                            RDFModel m2)

intersection

public static RDFModel intersection(RDFModel m1,
                                    RDFModel m2)

intersect

public static void intersect(RDFModel m1,
                             RDFModel m2)