private static String[] collationMatchingRuleNames(final List<String> localeNames,final int numSuffix,final String symbolicSuffix){
  final List<String> names=new ArrayList<>();
  for (  String localeName : localeNames) {
    if (symbolicSuffix.isEmpty()) {
      names.add(localeName);
    }
 else {
      names.add(localeName + "." + numSuffix);
      names.add(localeName + "." + symbolicSuffix);
    }
  }
  return names.toArray(new String[names.size()]);
}

private static String [ ] collationMatchingRuleNames ( final List < String > localeNames , final int numSuffix , final String symbolicSuffix ) { final List < String > names = new ArrayList < > ( ) ; for ( String localeName : localeNames ) { if ( symbolicSuffix . isEmpty ( ) ) { names . add ( localeName ) ; } else { names . add ( localeName + "." + numSuffix ) ; names . add ( localeName + "." + symbolicSuffix ) ; } } return names . toArray ( new String [ names . size ( ) ] ) ; }
build the complete list of names for a collation matching rule .
