net.ontopia.utils
Class DeciderFilter

java.lang.Object
  extended by net.ontopia.utils.DeciderFilter
All Implemented Interfaces:
FilterIF

public class DeciderFilter
extends java.lang.Object
implements FilterIF

INTERNAL: Filter that filters a collection using a decider. The decider is applied to the individual objects in the collection. If the object is accepted by the decider it will become part of the result.


Constructor Summary
DeciderFilter(DeciderIF decider)
           
 
Method Summary
 java.util.Collection filter(java.util.Iterator objects)
          INTERNAL: Filters the input iterator and returns a collection containing a subset of the iterator's elements.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeciderFilter

public DeciderFilter(DeciderIF decider)
Method Detail

filter

public java.util.Collection filter(java.util.Iterator objects)
Description copied from interface: FilterIF
INTERNAL: Filters the input iterator and returns a collection containing a subset of the iterator's elements.

Specified by:
filter in interface FilterIF


Copyright © 2000-2009 Ontopia.