|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.unidu.is.text.WordSetConcatenatorFilter
This filter concatenes all values together (separated by a space), where each word only occurs once. The original order is not preserved.
| Field Summary | |
protected Filter |
nextFilter
The next filter in the filter chain. |
| Constructor Summary | |
WordSetConcatenatorFilter(Filter nextFilter)
Creates a new instance and sets the next filter in the chain. |
|
| 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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected Filter nextFilter
| Constructor Detail |
public WordSetConcatenatorFilter(Filter nextFilter)
nextFilter - next filter in the filter chain| Method Detail |
public java.util.Iterator apply(java.lang.Object seed)
apply in interface Filterseed - object on which the filter is applied
Filter.apply(java.lang.Object)public java.util.Iterator apply(java.util.Iterator iterator)
This method first calls the next filter in the filter chain (if existing), and then applies this filter on the specified iterator.
apply in interface Filteriterator - iterator over objects on which the filter is applied
Filter.apply(java.util.Iterator)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||