org.codehaus.janino.util.iterator
public class IteratorCollection extends AbstractCollection
In other words, you can call iterator as often as you want, but the IteratorCollection will iterate over its delegate only once.
| Constructor Summary | |
|---|---|
| IteratorCollection(Iterator iterator) | |
| Method Summary | |
|---|---|
| Iterator | iterator() |
| int | size() |