public ULocale [ ] getAvailableULocales ( ) { Set < String > visIDs = getVisibleIDs ( ) ; ULocale [ ] locales = new ULocale [ visIDs . size ( ) ] ; int n = 0 ; for ( String id : visIDs ) { locales [ n ++ ] = new ULocale ( id ) ; } return locales ; }
Convenience method for callers using locales . This returns the standard ULocale list built from the Set of visible ids .