components/src/main/java/eu/internetofus/common/components/personal_context_builder/WeNetPersonalContextBuilder.java
/**
   * Return a set of users that are closest into a location.
   *
   * @param latitude  of the location.
   * @param longitude of the location.
   * @param numUsers  number of users to return.
   *
   * @return the future closest users.
   */
Return a set of users that are closest into a location.
@param latitude  of the location.
@param longitude of the location.
@param numUsers  number of users to return.

@return the future closest users.
Return a set of users that are closest into a location . @param latitude of the location . @param longitude of the location . @param numUsers number of users to return . @return the future closest users .
@GenIgnore
  default Future<List<UserDistance>> obtainClosestUsersTo(final double latitude, final double longitude,
      final int numUsers) {
    final Promise<JsonArray> promise = Promise.promise();
    this.obtainClosestUsersTo(latitude, longitude, numUsers, promise);
    return Model.fromFutureJsonArray(promise.future(), UserDistance.class);
  }
@ GenIgnore default Future < List < UserDistance > > obtainClosestUsersTo ( final double latitude , final double longitude , final int numUsers ) { final Promise < JsonArray > promise = Promise . promise ( ) ; this . obtainClosestUsersTo ( latitude , longitude , numUsers , promise ) ; return Model . fromFutureJsonArray ( promise . future ( ) , UserDistance . class ) ; }
Return a set of users that are closest into a location.
Return a set of users that are closest into a location .