|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A filter is used to modify objects (in most cases, objects) in a uniform way. The filter converts an object into a list of other objects, represented by an iterator. In addition, a filter can be called with an iterator; then, the filter is applied on each object returned by the filter.
| Method Summary | |
java.util.Iterator |
apply(java.util.Iterator iterator)
Applies this filter on each object returned by the specified iterator. |
java.util.Iterator |
apply(java.lang.Object seed)
Applies this filter on the specified single object. |
| Method Detail |
public java.util.Iterator apply(java.lang.Object seed)
seed - object on which the filter is applied
public java.util.Iterator apply(java.util.Iterator iterator)
iterator - iterator over objects on which the filter is applied
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||