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