|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - the type of element in iteration.public interface ExtraIterable<T>
ExtraIterable inherits from Iterable and adds the
functionality of returning its next elements into a list.
The Iterable JPL object and the way iteration will be done are
tightly coupled in this interface : the implementer will have to code an
Iterator inner class that extends AbstractIterator and override
hasNext() and next() methods.
| Nested Class Summary | |
|---|---|
static class |
ExtraIterable.AbstractExtraIterator<T>
Abstract inner class with default implementation of nextToList methods. |
| Method Summary | |
|---|---|
ExtraIterable.AbstractExtraIterator<T> |
iterator()
Returns a JPL iterator over a set of elements of type T. |
| Method Detail |
|---|
ExtraIterable.AbstractExtraIterator<T> iterator()
iterator in interface Iterable<T>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||