Class AbstractLazyIterator<T>
- java.lang.Object
-
- org.apache.jackrabbit.commons.iterator.AbstractLazyIterator<T>
-
- All Implemented Interfaces:
java.util.Iterator<T>
- Direct Known Subclasses:
DescendantsIterator
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 thegetNext()
method which must return the next item in the iteration ornull
if the iteration as reached its end.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
T
next()
void
remove()
-