14b867acb917b73e699a596df94445c634c916519Shaopeng Jia/*
24b867acb917b73e699a596df94445c634c916519Shaopeng Jia * Copyright (C) 2012 The Libphonenumber Authors
34b867acb917b73e699a596df94445c634c916519Shaopeng Jia *
44b867acb917b73e699a596df94445c634c916519Shaopeng Jia * Licensed under the Apache License, Version 2.0 (the "License");
54b867acb917b73e699a596df94445c634c916519Shaopeng Jia * you may not use this file except in compliance with the License.
64b867acb917b73e699a596df94445c634c916519Shaopeng Jia * You may obtain a copy of the License at
74b867acb917b73e699a596df94445c634c916519Shaopeng Jia *
84b867acb917b73e699a596df94445c634c916519Shaopeng Jia * http://www.apache.org/licenses/LICENSE-2.0
94b867acb917b73e699a596df94445c634c916519Shaopeng Jia *
104b867acb917b73e699a596df94445c634c916519Shaopeng Jia * Unless required by applicable law or agreed to in writing, software
114b867acb917b73e699a596df94445c634c916519Shaopeng Jia * distributed under the License is distributed on an "AS IS" BASIS,
124b867acb917b73e699a596df94445c634c916519Shaopeng Jia * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
134b867acb917b73e699a596df94445c634c916519Shaopeng Jia * See the License for the specific language governing permissions and
144b867acb917b73e699a596df94445c634c916519Shaopeng Jia * limitations under the License.
154b867acb917b73e699a596df94445c634c916519Shaopeng Jia */
164b867acb917b73e699a596df94445c634c916519Shaopeng Jia
174b867acb917b73e699a596df94445c634c916519Shaopeng Jia/* This file is automatically generated by {@link BuildMetadataProtoFromXml}.
184b867acb917b73e699a596df94445c634c916519Shaopeng Jia * Please don't modify it directly.
194b867acb917b73e699a596df94445c634c916519Shaopeng Jia */
204b867acb917b73e699a596df94445c634c916519Shaopeng Jia
214b867acb917b73e699a596df94445c634c916519Shaopeng Jiapackage com.android.i18n.phonenumbers;
224b867acb917b73e699a596df94445c634c916519Shaopeng Jia
234b867acb917b73e699a596df94445c634c916519Shaopeng Jiaimport java.util.HashSet;
244b867acb917b73e699a596df94445c634c916519Shaopeng Jiaimport java.util.Set;
254b867acb917b73e699a596df94445c634c916519Shaopeng Jia
264b867acb917b73e699a596df94445c634c916519Shaopeng Jiapublic class AlternateFormatsCountryCodeSet {
274b867acb917b73e699a596df94445c634c916519Shaopeng Jia  // A set of all country codes for which data is available.
284b867acb917b73e699a596df94445c634c916519Shaopeng Jia  static Set<Integer> getCountryCodeSet() {
298777f1913d34c3ecf72164ea85292e978e265eddShaopeng Jia    // The capacity is set to 53 as there are 40 different entries,
304b867acb917b73e699a596df94445c634c916519Shaopeng Jia    // and this offers a load factor of roughly 0.75.
318777f1913d34c3ecf72164ea85292e978e265eddShaopeng Jia    Set<Integer> countryCodeSet = new HashSet<Integer>(53);
324b867acb917b73e699a596df94445c634c916519Shaopeng Jia
33bb78ce92eae2d5de9aa06b27ed3b87bc496c79eeShaopeng Jia    countryCodeSet.add(7);
34b03a14984ad9b0d8b88337ca714cb831233b99c3Shaopeng Jia    countryCodeSet.add(27);
35bb78ce92eae2d5de9aa06b27ed3b87bc496c79eeShaopeng Jia    countryCodeSet.add(30);
36bb78ce92eae2d5de9aa06b27ed3b87bc496c79eeShaopeng Jia    countryCodeSet.add(31);
37bb78ce92eae2d5de9aa06b27ed3b87bc496c79eeShaopeng Jia    countryCodeSet.add(34);
38f9768eb3c8f303725fb4f899598481cbc4fb76a3Shaopeng Jia    countryCodeSet.add(36);
39203cf688f8d56e2c1f9828801b113110465f39a7Shaopeng Jia    countryCodeSet.add(43);
404b867acb917b73e699a596df94445c634c916519Shaopeng Jia    countryCodeSet.add(44);
414b867acb917b73e699a596df94445c634c916519Shaopeng Jia    countryCodeSet.add(49);
424b867acb917b73e699a596df94445c634c916519Shaopeng Jia    countryCodeSet.add(55);
43bb78ce92eae2d5de9aa06b27ed3b87bc496c79eeShaopeng Jia    countryCodeSet.add(58);
444b867acb917b73e699a596df94445c634c916519Shaopeng Jia    countryCodeSet.add(61);
45bb78ce92eae2d5de9aa06b27ed3b87bc496c79eeShaopeng Jia    countryCodeSet.add(62);
46bb78ce92eae2d5de9aa06b27ed3b87bc496c79eeShaopeng Jia    countryCodeSet.add(63);
47f9768eb3c8f303725fb4f899598481cbc4fb76a3Shaopeng Jia    countryCodeSet.add(66);
484b867acb917b73e699a596df94445c634c916519Shaopeng Jia    countryCodeSet.add(81);
49f9768eb3c8f303725fb4f899598481cbc4fb76a3Shaopeng Jia    countryCodeSet.add(84);
50bb78ce92eae2d5de9aa06b27ed3b87bc496c79eeShaopeng Jia    countryCodeSet.add(90);
51f9768eb3c8f303725fb4f899598481cbc4fb76a3Shaopeng Jia    countryCodeSet.add(94);
528777f1913d34c3ecf72164ea85292e978e265eddShaopeng Jia    countryCodeSet.add(95);
53b03a14984ad9b0d8b88337ca714cb831233b99c3Shaopeng Jia    countryCodeSet.add(255);
54f9768eb3c8f303725fb4f899598481cbc4fb76a3Shaopeng Jia    countryCodeSet.add(350);
553396e51bc9ea60ecdebdfa76a7f7a6f37466e3b3Shaopeng Jia    countryCodeSet.add(351);
56bb78ce92eae2d5de9aa06b27ed3b87bc496c79eeShaopeng Jia    countryCodeSet.add(352);
57f9768eb3c8f303725fb4f899598481cbc4fb76a3Shaopeng Jia    countryCodeSet.add(358);
58bb78ce92eae2d5de9aa06b27ed3b87bc496c79eeShaopeng Jia    countryCodeSet.add(359);
59bb78ce92eae2d5de9aa06b27ed3b87bc496c79eeShaopeng Jia    countryCodeSet.add(372);
60bb78ce92eae2d5de9aa06b27ed3b87bc496c79eeShaopeng Jia    countryCodeSet.add(373);
61bb78ce92eae2d5de9aa06b27ed3b87bc496c79eeShaopeng Jia    countryCodeSet.add(380);
62b03a14984ad9b0d8b88337ca714cb831233b99c3Shaopeng Jia    countryCodeSet.add(381);
63bb78ce92eae2d5de9aa06b27ed3b87bc496c79eeShaopeng Jia    countryCodeSet.add(385);
64b03a14984ad9b0d8b88337ca714cb831233b99c3Shaopeng Jia    countryCodeSet.add(505);
65b03a14984ad9b0d8b88337ca714cb831233b99c3Shaopeng Jia    countryCodeSet.add(506);
66bb78ce92eae2d5de9aa06b27ed3b87bc496c79eeShaopeng Jia    countryCodeSet.add(595);
67f9768eb3c8f303725fb4f899598481cbc4fb76a3Shaopeng Jia    countryCodeSet.add(675);
68b03a14984ad9b0d8b88337ca714cb831233b99c3Shaopeng Jia    countryCodeSet.add(679);
69bb78ce92eae2d5de9aa06b27ed3b87bc496c79eeShaopeng Jia    countryCodeSet.add(855);
70bb78ce92eae2d5de9aa06b27ed3b87bc496c79eeShaopeng Jia    countryCodeSet.add(971);
71bb78ce92eae2d5de9aa06b27ed3b87bc496c79eeShaopeng Jia    countryCodeSet.add(972);
72f9768eb3c8f303725fb4f899598481cbc4fb76a3Shaopeng Jia    countryCodeSet.add(995);
734b867acb917b73e699a596df94445c634c916519Shaopeng Jia
744b867acb917b73e699a596df94445c634c916519Shaopeng Jia    return countryCodeSet;
754b867acb917b73e699a596df94445c634c916519Shaopeng Jia  }
764b867acb917b73e699a596df94445c634c916519Shaopeng Jia}
77