aima.util
Class SetOps<T>

java.lang.Object
  extended by aima.util.SetOps<T>

public class SetOps<T>
extends java.lang.Object


Constructor Summary
SetOps()
           
 
Method Summary
 java.util.Set<T> difference(java.util.Set<T> one, java.util.Set<T> two)
           
 boolean in(java.util.Set<T> s, T o)
           
 java.util.Set<T> intersection(java.util.Set<T> one, java.util.Set<T> two)
           
 java.util.Set<T> union(java.util.Set<T> one, java.util.Set<T> two)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetOps

public SetOps()
Method Detail

union

public java.util.Set<T> union(java.util.Set<T> one,
                              java.util.Set<T> two)

intersection

public java.util.Set<T> intersection(java.util.Set<T> one,
                                     java.util.Set<T> two)

difference

public java.util.Set<T> difference(java.util.Set<T> one,
                                   java.util.Set<T> two)

in

public boolean in(java.util.Set<T> s,
                  T o)