Consider the following code:
List locales = Arrays.asList( new Locale(\"en\", \"US\"), new Locale(\"ar\"), new Locale(\"en\", \"GB\") )