code: public List<String> getLabels(Locale locale, ScaleLevel level)
      {
          return level.stream(min, max).mapToObj((d)->level.label(locale, d)).collect(Collectors.toList());
      }
docs: Returns labels for level
  @param locale
  @param level
  @return