|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.imcode.util.IteratorWrapper<E>
com.imcode.util.CountingIterator<E>
public class CountingIterator<E>
| Constructor Summary | |
|---|---|
CountingIterator(java.util.Iterator<E> iterator)
|
|
| Method Summary | |
|---|---|
int |
getCount()
|
E |
next()
|
| Methods inherited from class com.imcode.util.IteratorWrapper |
|---|
hasNext, remove |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CountingIterator(java.util.Iterator<E> iterator)
| Method Detail |
|---|
public E next()
next in interface java.util.Iterator<E>next in class IteratorWrapper<E>public int getCount()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||