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 void
close()
boolean
hasNext()
E
next()
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfacejava.util.Iterator<E>
-
close
public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfaceVitamAutoCloseable
-
-