Package org.cyclos.server.utils
Class SingletonCloseableIterator<T>
- java.lang.Object
-
- org.cyclos.server.utils.SingletonCloseableIterator<T>
-
- All Implemented Interfaces:
com.mysema.commons.lang.CloseableIterator<T>,Closeable,AutoCloseable,Iterator<T>
public class SingletonCloseableIterator<T> extends Object implements com.mysema.commons.lang.CloseableIterator<T>
ACloseableIteratorwith a single element
-
-
Constructor Summary
Constructors Constructor Description SingletonCloseableIterator(T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()booleanhasNext()Tnext()voidremove()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-