I'm testing java.util.Locale
and I found that the first element of Locale.getAvailableLocales is weird.
@Test
public void printFirstLocale() {
final Locale firstLocale = Locale.getAvailableLocales()[0];
System.out.println("first locale: " + firstLocale
+ " " + firstLocale.hashCode());
}
Ant it just prints this.
first locale: 0
I got same results from OS X, Windows, and Xubuntu.