Module io.smallrye.common.resource
Package io.smallrye.common.resource
Class EmptyDirectoryStream<T>
java.lang.Object
io.smallrye.common.resource.EmptyDirectoryStream<T>
- Type Parameters:
T- the entry type
- All Implemented Interfaces:
Closeable,AutoCloseable,Iterable<T>,DirectoryStream<T>
An empty directory stream.
-
Nested Class Summary
Nested classes/interfaces inherited from interface java.nio.file.DirectoryStream
DirectoryStream.Filter<T> -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
instance
Returns the singleton instance.- Type Parameters:
T- the entry type- Returns:
- the singleton instance
-
iterator
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-