Home
last modified time | relevance | path

Searched refs:TreeSet (Results 1 – 25 of 126) sorted by relevance

123456

/third_party/libphonenumber/tools/java/common/test/com/google/i18n/phonenumbers/
DMetadataFilterTest.java24 import java.util.TreeSet;
44 TreeMap<String, TreeSet<String>> blacklist = new TreeMap<String, TreeSet<String>>(); in testForLiteBuild()
45 blacklist.put("fixedLine", new TreeSet<String>(Arrays.asList("exampleNumber"))); in testForLiteBuild()
46 blacklist.put("mobile", new TreeSet<String>(Arrays.asList("exampleNumber"))); in testForLiteBuild()
47 blacklist.put("tollFree", new TreeSet<String>(Arrays.asList("exampleNumber"))); in testForLiteBuild()
48 blacklist.put("premiumRate", new TreeSet<String>(Arrays.asList("exampleNumber"))); in testForLiteBuild()
49 blacklist.put("sharedCost", new TreeSet<String>(Arrays.asList("exampleNumber"))); in testForLiteBuild()
50 blacklist.put("personalNumber", new TreeSet<String>(Arrays.asList("exampleNumber"))); in testForLiteBuild()
51 blacklist.put("voip", new TreeSet<String>(Arrays.asList("exampleNumber"))); in testForLiteBuild()
52 blacklist.put("pager", new TreeSet<String>(Arrays.asList("exampleNumber"))); in testForLiteBuild()
[all …]
/third_party/libphonenumber/tools/java/common/src/com/google/i18n/phonenumbers/
DMetadataFilter.java23 import java.util.TreeSet;
45 static final TreeSet<String> excludableParentFields = new TreeSet<String>(Arrays.asList(
68 static final TreeSet<String> excludableChildFields = new TreeSet<String>(Arrays.asList(
75 static final TreeSet<String> excludableChildlessFields = new TreeSet<String>(Arrays.asList(
85 private final TreeMap<String, TreeSet<String>> blacklist;
102 return new MetadataFilter(new TreeMap<String, TreeSet<String>>()); in emptyFilter()
106 MetadataFilter(TreeMap<String, TreeSet<String>> blacklist) { in MetadataFilter()
214 static TreeMap<String, TreeSet<String>> parseFieldMapFromString(String string) { in parseFieldMapFromString()
224 TreeMap<String, TreeSet<String>> fieldMap = new TreeMap<String, TreeSet<String>>(); in parseFieldMapFromString()
225 TreeSet<String> wildcardChildren = new TreeSet<String>(); in parseFieldMapFromString()
[all …]
DBuildMetadataFromXml.java31 import java.util.TreeSet;
405 private static boolean arePossibleLengthsEqual(TreeSet<Integer> possibleLengths, in arePossibleLengthsEqual()
464 TreeSet<Integer> lengths = new TreeSet<Integer>(); in processPhoneNumberDescElement()
465 TreeSet<Integer> localOnlyLengths = new TreeSet<Integer>(); in processPhoneNumberDescElement()
541 Set<Integer> lengthSet = new TreeSet<Integer>(); in parsePossibleLengthStringToSet()
594 private static void populatePossibleLengthSets(Element data, TreeSet<Integer> lengths, in populatePossibleLengthSets()
595 TreeSet<Integer> localOnlyLengths) { in populatePossibleLengthSets()
633 TreeSet<Integer> lengths = new TreeSet<Integer>(); in setPossibleLengthsGeneralDesc()
634 TreeSet<Integer> localOnlyLengths = new TreeSet<Integer>(); in setPossibleLengthsGeneralDesc()
689 private static void setPossibleLengths(TreeSet<Integer> lengths, in setPossibleLengths()
[all …]
/third_party/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/
DReportAPI.java43 import java.util.TreeSet;
51 TreeSet<APIInfo> added;
52 TreeSet<APIInfo> removed;
53 TreeSet<APIInfo> promotedStable;
54 TreeSet<APIInfo> promotedDraft;
55 TreeSet<APIInfo> obsoleted;
141 removed = (TreeSet<APIInfo>)oldData.set.clone(); in ReportAPI()
144 added = (TreeSet<APIInfo>)newData.set.clone(); in ReportAPI()
205 TreeSet<APIInfo> changedAdded = new TreeSet<APIInfo>(APIInfo.defaultComparator()); in ReportAPI()
211 TreeSet<APIInfo> changedRemoved = new TreeSet<APIInfo>(APIInfo.defaultComparator()); in ReportAPI()
[all …]
DCheckAPI.java59 import java.util.TreeSet;
75 TreeSet compareSet;
76 TreeSet results;
597 this.compareSet = new TreeSet(Info.defaultComparator()); in CheckAPI()
609 results = new TreeSet(Info.defaultComparator()); in CheckAPI()
640 TreeSet removed = (TreeSet)compareSet.clone(); in run()
643 TreeSet added = (TreeSet)results.clone(); in run()
934 private static TreeSet stripAndResort(TreeSet t) { in stripAndResort()
936 TreeSet r = new TreeSet(Info.classFirstComparator()); in stripAndResort()
DAPIData.java27 import java.util.TreeSet;
36 TreeSet<APIInfo> set;
52 data.set = new TreeSet(APIInfo.defaultComparator()); in read()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
DTestUtilities.java15 import java.util.TreeSet;
30 TreeSet ts1 = new TreeSet(); in TestCollectionUtilitySpeed()
31 TreeSet ts2 = new TreeSet(); in TestCollectionUtilitySpeed()
51 …private void timeAndCompare(TreeSet ts1, TreeSet ts2, int iterations, boolean expected, double fac… in timeAndCompare()
104 Collection a = new TreeSet(Arrays.asList(test[i])); in TestCollectionUtilities()
106 Collection b = new TreeSet(Arrays.asList(test[j])); in TestCollectionUtilities()
/third_party/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/util/
DTestUtilities.java14 import java.util.TreeSet;
27 TreeSet ts1 = new TreeSet(); in TestCollectionUtilitySpeed()
28 TreeSet ts2 = new TreeSet(); in TestCollectionUtilitySpeed()
48 …private void timeAndCompare(TreeSet ts1, TreeSet ts2, int iterations, boolean expected, double fac… in timeAndCompare()
101 Collection a = new TreeSet(Arrays.asList(test[i])); in TestCollectionUtilities()
103 Collection b = new TreeSet(Arrays.asList(test[j])); in TestCollectionUtilities()
/third_party/libphonenumber/java/internal/prefixmapper/src/com/google/i18n/phonenumbers/prefixmapper/
DPhonePrefixMapStorageStrategy.java23 import java.util.TreeSet;
34 protected final TreeSet<Integer> possibleLengths = new TreeSet<Integer>();
91 public TreeSet<Integer> getPossibleLengths() { in getPossibleLengths()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DSortedSetRelation.java18 import java.util.TreeSet;
146 TreeSet<? extends T> temp; in doOperation()
166 temp = new TreeSet<T>(b); in doOperation()
172 temp = new TreeSet<T>(b); in doOperation()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DSortedSetRelation.java17 import java.util.TreeSet;
144 TreeSet<? extends T> temp; in doOperation()
164 temp = new TreeSet<T>(b); in doOperation()
170 temp = new TreeSet<T>(b); in doOperation()
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/
DTransliterationChart.java20 import java.util.TreeSet;
69 Set latinFail = new TreeSet(); in main()
217 Iterator i1 = ((TreeSet) o1).iterator(); in compare()
218 Iterator i2 = ((TreeSet) o2).iterator(); in compare()
254 Set s = new TreeSet(comparator); in add()
275 TreeSet values = new TreeSet(comp); in MyIterator()
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/
DUnicodeSetCloseOver.java25 import java.util.TreeSet;
96 TreeSet s = (TreeSet) equivClasses.get(folded); in createCaseFoldEquivalencyClasses()
98 s = new TreeSet(); in createCaseFoldEquivalencyClasses()
146 Iterator i = new TreeSet(equivClasses.keySet()).iterator(); in analyzeCaseData()
242 TreeSet sortPairs = new TreeSet(new Comparator() { in generateCaseData()
/third_party/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DUnicodeMapTest.java22 import java.util.TreeSet;
214 TreeSet<Integer> values = new TreeSet<Integer>(stayWithMe.values()); in checkEquals()
215 TreeSet<Integer> myValues = new TreeSet<Integer>(me.values()); in checkEquals()
319 SortedSet<String> log = new TreeSet<String>();
379 Set<String> values1 = map1.getAvailableValues(new TreeSet<String>()); in TestUnicodeMapGeneralCategory()
380 Set<String> values2 = new TreeSet<String>(map2.values()); in TestUnicodeMapGeneralCategory()
493 … Set<Map.Entry<Integer, String>> m1_m2 = new TreeSet<Map.Entry<Integer, String>>(ENTRY_COMPARATOR); in getEntries()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/translit/
DUnicodeMapTest.java23 import java.util.TreeSet;
217 TreeSet<Integer> values = new TreeSet<Integer>(stayWithMe.values()); in checkEquals()
218 TreeSet<Integer> myValues = new TreeSet<Integer>(me.values()); in checkEquals()
322 SortedSet<String> log = new TreeSet<String>();
382 Set<String> values1 = map1.getAvailableValues(new TreeSet<String>()); in TestUnicodeMapGeneralCategory()
383 Set<String> values2 = new TreeSet<String>(map2.values()); in TestUnicodeMapGeneralCategory()
496 … Set<Map.Entry<Integer, String>> m1_m2 = new TreeSet<Map.Entry<Integer, String>>(ENTRY_COMPARATOR); in getEntries()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneAliasTest.java24 import java.util.TreeSet;
63 Set aliasesSet = new TreeSet(aliases); in TestAliases()
173 static private final Set zoneSet = new TreeSet();
174 static private final Set uniqueZoneSet = new TreeSet();
199 aliases = new TreeSet();
250 private Set purportedAliases = new TreeSet();
368 return new TreeSet(purportedAliases); // clone for safety in getPurportedAliases()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/timezone/
DTimeZoneAliasTest.java25 import java.util.TreeSet;
66 Set aliasesSet = new TreeSet(aliases); in TestAliases()
176 static private final Set zoneSet = new TreeSet();
177 static private final Set uniqueZoneSet = new TreeSet();
202 aliases = new TreeSet();
253 private Set purportedAliases = new TreeSet();
371 return new TreeSet(purportedAliases); // clone for safety in getPurportedAliases()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/conversion/eot/
DMtxFontBuilder.java24 import java.util.TreeSet;
86 TreeSet<Integer> tags = new TreeSet<Integer>(tables.keySet()); in build()
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/conversion/eot/
DMtxFontBuilder.java24 import java.util.TreeSet;
86 TreeSet<Integer> tags = new TreeSet<Integer>(tables.keySet()); in build()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DUResourceBundle.java21 import java.util.TreeSet;
648 TreeSet<String> newKeySet; in keySet()
650 newKeySet = new TreeSet<String>(); in keySet()
652 newKeySet = new TreeSet<String>(((UResourceBundle)parent).keySet()); in keySet()
656 newKeySet = new TreeSet<String>(); in keySet()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DUResourceBundle.java22 import java.util.TreeSet;
622 TreeSet<String> newKeySet; in keySet()
624 newKeySet = new TreeSet<String>(); in keySet()
626 newKeySet = new TreeSet<String>(((UResourceBundle)parent).keySet()); in keySet()
630 newKeySet = new TreeSet<String>(); in keySet()
/third_party/icu/tools/multi/proj/icu4jscan/src/com/ibm/icu/dev/scan/
DCapElement.java11 import java.util.TreeSet;
38 Set children = new TreeSet();
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/ant/
DLocaleIdResolver.java12 import java.util.TreeSet;
53 Set<String> targetIds = new TreeSet<>(); in resolve()
65 Set<String> minimalConfigIds = new TreeSet<>(Sets.difference(idSpecs, targetIds)); in resolve()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/
DTestBoilerplate.java21 import java.util.TreeSet;
159 temp = new TreeSet(values1); in verifySetsIdentical()
163 temp = new TreeSet(values2); in verifySetsIdentical()
/third_party/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/
DTestBoilerplate.java20 import java.util.TreeSet;
158 temp = new TreeSet(values1); in verifySetsIdentical()
162 temp = new TreeSet(values2); in verifySetsIdentical()

123456