Package net.sourceforge.pmd.util
Class EmptyIterator<T>
- java.lang.Object
-
- net.sourceforge.pmd.util.EmptyIterator<T>
-
- Type Parameters:
T
-
- All Implemented Interfaces:
Iterator<T>
@InternalApi @Deprecated public final class EmptyIterator<T> extends Object implements Iterator<T>
Deprecated.A singleton iterator that never has anything.- Author:
- Brian Remedios
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
hasNext()
Deprecated.static <T> Iterator<T>
instance()
Deprecated.T
next()
Deprecated.void
remove()
Deprecated.-
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
-
-