Class IteratorImpl<E>
- java.lang.Object
-
- org.pepstock.charba.client.commons.IteratorImpl<E>
-
- Type Parameters:
E
- type of element of the list
- All Implemented Interfaces:
Iterator<E>
- Direct Known Subclasses:
ListIteratorImpl
public class IteratorImpl<E> extends Object implements Iterator<E>
Custom iterator over a collection.- Author:
- Andrea "Stock" Stocchero
- See Also:
Iterator
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
Returns true if the iteration has more elements.E
next()
Returns the next element in the iteration.void
remove()
Removes from the underlying collection the last element returned by this iterator.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
Returns true if the iteration has more elements.
-
next
public E next()
Returns the next element in the iteration.
-
-