code: public LMAlgoFactoryDecorator setWeightingsAsStrings(List<String> weightingList) {
          if (weightingList.isEmpty())
              throw new IllegalArgumentException("It is not allowed to pass an emtpy weightingList");
  
          weightingsAsStrings.clear();
          for (String strWeighting : weightingList) {
              strWeighting = toLowerCase(strWeighting);
              strWeighting = strWeighting.trim();
              addWeighting(strWeighting);
          }
          return this;
      }
docs: Enables the use of contraction hierarchies to reduce query times. Enabled by default.
  
  @param weightingList A list containing multiple weightings like: "fastest", "shortest" or
  your own weight-calculation type.