com.ibm.wala.util.collections
Class Filtersection<T>

java.lang.Object
  extended by com.ibm.wala.util.collections.Filtersection<T>
All Implemented Interfaces:
Filter<T>

public class Filtersection<T>
extends java.lang.Object
implements Filter<T>

intersection of two filters


Constructor Summary
Filtersection(Filter<T> a, Filter<T> b)
           
 
Method Summary
 boolean accepts(T o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Filtersection

public Filtersection(Filter<T> a,
                     Filter<T> b)
Method Detail

accepts

public boolean accepts(T o)
Specified by:
accepts in interface Filter<T>
Returns:
true iff o is in the set defined by this filter