|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.ontopia.utils.DeciderFilter<T>
public class DeciderFilter<T>
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.
| Field Summary | |
|---|---|
protected DeciderIF<T> |
decider
|
| Constructor Summary | |
|---|---|
DeciderFilter(DeciderIF<T> decider)
|
|
| Method Summary | |
|---|---|
java.util.Collection<T> |
filter(java.util.Iterator<T> 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 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected DeciderIF<T> decider
| Constructor Detail |
|---|
public DeciderFilter(DeciderIF<T> decider)
| Method Detail |
|---|
public java.util.Collection<T> filter(java.util.Iterator<T> objects)
FilterIF
filter in interface FilterIF<T>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||