vertx/src/main/java/eu/internetofus/common/vertx/ModelsPageContext.java
/**
   * Convert the context to MongoDB find options.
   *
   * @return the find options defined by this context.
   */
Convert the context to MongoDB find options.
@return the find options defined by this context.
Convert the context to MongoDB find options . @return the find options defined by this context .
public FindOptions toFindOptions() {
    final var options = new FindOptions();
    if (this.sort != null) {
      options.setSort(this.sort);
    }
    options.setSkip(this.offset);
    options.setLimit(this.limit);
    return options;
  }
public FindOptions toFindOptions ( ) { final var options = new FindOptions ( ) ; if ( this . sort != null ) { options . setSort ( this . sort ) ; } options . setSkip ( this . offset ) ; options . setLimit ( this . limit ) ; return options ; }
Convert the context to MongoDB find options.
Convert the context to MongoDB find options .