code: public static List<Locale> languagesByCountry(final String countryCode) {
          if (countryCode == null) {
              return Collections.emptyList();
          }
          List<Locale> langs = cLanguagesByCountry.get(countryCode);
          if (langs == null) {
              langs = new ArrayList<>();
              final List<Locale> locales = availableLocaleList();
              for (final Locale locale : locales) {
                  if (countryCode.equals(locale.getCountry()) &&
                      locale.getVariant().isEmpty()) {
                      langs.add(locale);
                  }
              }
              langs = Collections.unmodifiableList(langs);
              cLanguagesByCountry.putIfAbsent(countryCode, langs);
              langs = cLanguagesByCountry.get(countryCode);
          }
          return langs;
      }
docs: <p>Obtains the list of languages supported for a given country.</p>
  
  <p>This method takes a country code and searches to find the
  languages available for that country. Variant locales are removed.</p>
  
  @param countryCode  the 2 letter country code, null returns empty
  @return an unmodifiable List of Locale objects, not null