首页 > 解决方案 > Finding unique locale from array containing different ISO format of same locale

问题描述

I get an array of locales from one of our Utility class as below,

enter image description here

Number of unique locales we have as per this list is 2. But it is having same locale twice in 2 letter and 3 letter ISO format. Please help with the logic to get the number of unique locales on this array of Locale.

标签: javalocale

解决方案


推荐阅读