public DocumentT findOne(final Bson filter, final RemoteFindOptions options) {
    return proxy.findOne(filter, options);
  }
public DocumentT findOne ( final Bson filter , final RemoteFindOptions options ) { return proxy . findOne ( filter , options ) ; }
Finds a document in the collection.

@param filter the query filter
@param options A RemoteFindOptions struct
@return  a task containing the result of the find one operation