Package org.apache.flink.util
Class CloseableIterable.Empty<T>
- java.lang.Object
-
- org.apache.flink.util.CloseableIterable.Empty<T>
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Iterable<T>
,CloseableIterable<T>
- Enclosing interface:
- CloseableIterable<T>
public static class CloseableIterable.Empty<T> extends Object implements CloseableIterable<T>
Empty iterator.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.flink.util.CloseableIterable
CloseableIterable.Empty<T>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Iterator<T>
iterator()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
-