public abstract class AbstractLazyIterator<T>
extends java.lang.Object
implements java.util.Iterator<T>
AbstractLazyIterator
provides basic iteration methods for a lazy loading iterator that does not support
remove. Implementing classes only need to implement the getNext()
method which must return the next item
in the iteration or null
if the iteration as reached its end.Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
T |
next() |
void |
remove() |
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"