JAVA/JS/CPP: v7.0.1 metadata updates.
[platform/upstream/libphonenumber.git] / java / libphonenumber / src / com / google / i18n / phonenumbers / AlternateFormatsCountryCodeSet.java
index 6afbab3..c07a173 100644 (file)
@@ -26,16 +26,53 @@ import java.util.Set;
 public class AlternateFormatsCountryCodeSet {
   // A set of all country codes for which data is available.
   static Set<Integer> getCountryCodeSet() {
-    // The capacity is set to 8 as there are 6 different country codes,
+    // The capacity is set to 57 as there are 43 different entries,
     // and this offers a load factor of roughly 0.75.
-    Set<Integer> countryCodeSet = new HashSet<Integer>(8);
+    Set<Integer> countryCodeSet = new HashSet<Integer>(57);
 
+    countryCodeSet.add(7);
+    countryCodeSet.add(27);
+    countryCodeSet.add(30);
+    countryCodeSet.add(31);
+    countryCodeSet.add(34);
+    countryCodeSet.add(36);
     countryCodeSet.add(43);
     countryCodeSet.add(44);
     countryCodeSet.add(49);
+    countryCodeSet.add(54);
     countryCodeSet.add(55);
+    countryCodeSet.add(58);
     countryCodeSet.add(61);
+    countryCodeSet.add(62);
+    countryCodeSet.add(63);
+    countryCodeSet.add(66);
     countryCodeSet.add(81);
+    countryCodeSet.add(84);
+    countryCodeSet.add(90);
+    countryCodeSet.add(91);
+    countryCodeSet.add(94);
+    countryCodeSet.add(95);
+    countryCodeSet.add(255);
+    countryCodeSet.add(350);
+    countryCodeSet.add(351);
+    countryCodeSet.add(352);
+    countryCodeSet.add(358);
+    countryCodeSet.add(359);
+    countryCodeSet.add(372);
+    countryCodeSet.add(373);
+    countryCodeSet.add(380);
+    countryCodeSet.add(381);
+    countryCodeSet.add(385);
+    countryCodeSet.add(505);
+    countryCodeSet.add(506);
+    countryCodeSet.add(595);
+    countryCodeSet.add(675);
+    countryCodeSet.add(676);
+    countryCodeSet.add(679);
+    countryCodeSet.add(855);
+    countryCodeSet.add(971);
+    countryCodeSet.add(972);
+    countryCodeSet.add(995);
 
     return countryCodeSet;
   }