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

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

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

A filter that accepts everything.


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

Constructor Detail

IndiscriminateFilter

public IndiscriminateFilter()
Method Detail

singleton

public static <T> IndiscriminateFilter<T> singleton()

accepts

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