Java com.mongodb.client MongoCursor fields, constructors, methods, implement or subclass

Example usage for Java com.mongodb.client MongoCursor fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.mongodb.client MongoCursor.

The text is from its open source code.

Implementation

com.mongodb.client.MongoCursor has the following implementations.
Click this link to see all its implementation.

Constructor

Method

voidclose()
ServerCursorgetServerCursor()
Returns the server cursor, which can be null if the no cursor was created or if the cursor has been exhausted or killed.
booleanhasNext()
TResultnext()
TResulttryNext()
A special next() case that returns the next element in the iteration if available or null.