util
Class FilterProcs

java.lang.Object
  |
  +--util.FilterProcs

public class FilterProcs
extends Object

Using the filter!


Field Summary
static Filter NULL_FILTER
           
 
Constructor Summary
FilterProcs()
           
 
Method Summary
static Vector prune(Collection v, Filter f)
          Apply filter to Vector to get the pruned vector back.
static Vector prune(Collection v, String s)
          Apply filter to Vector to get the pruned vector back.
static Filter STRING_FILTER(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NULL_FILTER

public static final Filter NULL_FILTER
Constructor Detail

FilterProcs

public FilterProcs()
Method Detail

STRING_FILTER

public static Filter STRING_FILTER(String s)

prune

public static Vector prune(Collection v,
                           Filter f)
Apply filter to Vector to get the pruned vector back. Null filter passes everything.

prune

public static Vector prune(Collection v,
                           String s)
Apply filter to Vector to get the pruned vector back. Make sure toString contains the passed string.