Interface RemoteMongoCursor<ResultT>
-
- Type Parameters:
ResultT
- The type of documents the cursor contains
- All Superinterfaces:
AutoCloseable
,Closeable
,Iterator<ResultT>
@NotThreadSafe public interface RemoteMongoCursor<ResultT> extends Iterator<ResultT>, Closeable
The Mongo Cursor interface implementing the iterator protocol.. An application should ensure that a cursor is closed in all circumstances, e.g. using a try-with-resources statement.
-
-
Method Summary
-
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
-