public static LocationEngineResult create(Location location) {
    checkNotNull(location, "location can't be null");
    List<Location> locations = new ArrayList<>();
    locations.add(location);
    return new LocationEngineResult(locations);
  }
public static LocationEngineResult create ( Location location ) { checkNotNull ( location , "location can't be null" ) ; List < Location > locations = new ArrayList < > ( ) ; locations . add ( location ) ; return new LocationEngineResult ( locations ) ; }
Creates {@link LocationEngineResult} instance for location.

@param location default location added to the result.
@return instance of the new location result.
@since 1.0.0