Package fr.gouv.vitam.common.collection
Class EmptyCloseableIterator<E>
- java.lang.Object
-
- fr.gouv.vitam.common.collection.EmptyCloseableIterator<E>
-
- Type Parameters:
E- the object class of the objects contained in the iterator
- All Implemented Interfaces:
CloseableIterator<E>,VitamAutoCloseable,java.lang.AutoCloseable,java.util.Iterator<E>
public class EmptyCloseableIterator<E> extends java.lang.Object implements CloseableIterator<E>
EmptyCloseableIterator implementation
-
-
Constructor Summary
Constructors Constructor Description EmptyCloseableIterator()Empty constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()booleanhasNext()Enext()
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfacejava.util.Iterator<E>
-
close
public void close()
- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfaceVitamAutoCloseable
-
-