@Test public void testEmptyMongoCursor() { MongoCursor<Integer> cursor = new EmptyMongoCursor<Integer>(); assertFalse(cursor.hasNext()); assertNull(cursor.next()); assertNull(cursor.getServerAddress()); assertNull(cursor.getServerCursor()); cursor.close(); }
public EmptyMongoCursor() { super(); }
EmptyMongoCursor implements MongoCursor<TResult> { public EmptyMongoCursor() { super(); } }
EmptyMongoCursor implements MongoCursor<TResult> { public EmptyMongoCursor() { super(); } EmptyMongoCursor(); }
EmptyMongoCursor implements MongoCursor<TResult> { public EmptyMongoCursor() { super(); } EmptyMongoCursor(); @Override void close(); @Override boolean hasNext(); @Override TResult next(); @Override TResult tryNext(); @Override ServerCursor getServerCursor(); @Override ServerAddress getServerAddress(); }
EmptyMongoCursor implements MongoCursor<TResult> { public EmptyMongoCursor() { super(); } EmptyMongoCursor(); @Override void close(); @Override boolean hasNext(); @Override TResult next(); @Override TResult tryNext(); @Override ServerCursor getServerCursor(); @Override ServerAddress getServerAddress();  }