|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IFilter
Provides the hook interface that allows use by Striterators
| Method Summary | |
|---|---|
Iterator |
filter(Iterator src,
Object context)
The filter method is provided to allow the creation of the filtering iterator. |
| Methods inherited from interface cutthecrap.utils.striterators.IPropertySet |
|---|
getProperty |
| Method Detail |
|---|
Iterator filter(Iterator src,
Object context)
The filter method is provided to allow the creation of the filtering iterator.
Any implementation should follow the following pattern:
public Iterator filter(Iterator src, Object context) {
return new Filterator(src, context, this);
}
This pattern makes the source iterator, the evaluation context, and the
IPropertySet annotations visible to the runtime striterator
implementation.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||