Package com.complexible.common.base
Class CloseableIterator.EmptyCloseableIterator<T>
java.lang.Object
com.google.common.collect.UnmodifiableIterator<T>
com.google.common.collect.AbstractIterator<T>
com.complexible.common.base.CloseableIterator.AbstractCloseableIterator<T>
com.complexible.common.base.CloseableIterator.EmptyCloseableIterator<T>
- All Implemented Interfaces:
CloseableIterator<T>,AutoCloseable,Iterator<T>
- Enclosing interface:
CloseableIterator<T>
public static class CloseableIterator.EmptyCloseableIterator<T>
extends CloseableIterator.AbstractCloseableIterator<T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.complexible.common.base.CloseableIterator
CloseableIterator.AbstractCloseableIterator<T>, CloseableIterator.DelegatingCloseableIterator<T>, CloseableIterator.EmptyCloseableIterator<T> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.google.common.collect.AbstractIterator
endOfData, hasNext, next, peekMethods inherited from class com.google.common.collect.UnmodifiableIterator
removeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, remove
-
Constructor Details
-
EmptyCloseableIterator
public EmptyCloseableIterator()
-
-
Method Details
-
computeNext
- Specified by:
computeNextin classcom.google.common.collect.AbstractIterator<T>
-
close
- Throws:
RuntimeException
-