Class EmptyIterator<T>
java.lang.Object
com.fasterxml.aalto.util.EmptyIterator<T>
- All Implemented Interfaces:
Iterator<T>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> EmptyIterator<T> Since the actual type has no effect (as this iterator never returns any value objects), we can just cast away here: bit unclean, but safe.booleanhasNext()next()voidremove()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterator
forEachRemaining
-
Field Details
-
sInstance
-
-
Constructor Details
-
EmptyIterator
private EmptyIterator()
-
-
Method Details
-
getInstance
Since the actual type has no effect (as this iterator never returns any value objects), we can just cast away here: bit unclean, but safe. -
hasNext
-
next
-
remove
-