|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jbind.util.collection.TransformingIterator
| Nested Class Summary | |
static interface |
TransformingIterator.ITransformation
Interface which must be implemented in order to decide wheter objects should be included in the iteration or not. |
| Constructor Summary | |
TransformingIterator(java.util.Iterator anIterator,
TransformingIterator.ITransformation aTransformation)
Constructs a TransformingIterator, i.e. |
|
| Method Summary | |
boolean |
hasNext()
|
java.lang.Object |
next()
|
void |
remove()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TransformingIterator(java.util.Iterator anIterator,
TransformingIterator.ITransformation aTransformation)
anIterator - The iterator that should be transformed.aTransformation - The transformation that should be applied to the objects.| Method Detail |
public java.lang.Object next()
next in interface java.util.Iteratorpublic boolean hasNext()
hasNext in interface java.util.Iteratorpublic void remove()
remove in interface java.util.Iterator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||