org.openjena.atlas.lib
Class SetUtils

java.lang.Object
  extended by org.openjena.atlas.lib.SetUtils

public class SetUtils
extends Object


Method Summary
static
<T> Set<T>
difference(Set<? extends T> s1, Set<? extends T> s2)
          Return is s1 \ s2
static
<T> Set<T>
intersection(Set<? extends T> setLeft, Set<? extends T> setRight)
           
static
<T> boolean
intersectionP(Set<? extends T> s1, Set<? extends T> s2)
           
static
<T> Set<T>
union(Set<? extends T> s1, Set<? extends T> s2)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

intersection

public static <T> Set<T> intersection(Set<? extends T> setLeft,
                                      Set<? extends T> setRight)

intersectionP

public static <T> boolean intersectionP(Set<? extends T> s1,
                                        Set<? extends T> s2)

union

public static <T> Set<T> union(Set<? extends T> s1,
                               Set<? extends T> s2)

difference

public static <T> Set<T> difference(Set<? extends T> s1,
                                    Set<? extends T> s2)
Return is s1 \ s2



Licenced under the Apache License, Version 2.0