/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/ |
D | CollectionUtilities.java | 582 public static <T extends Comparable> int compare(Iterator<T> iterator1, Iterator<T> iterator2) { in compare() argument 586 return iterator2.hasNext() ? -1 : 0; in compare() 587 } else if (!iterator2.hasNext()) { in compare() 590 diff = CollectionUtilities.compare(iterator1.next(), iterator2.next()); in compare() 609 Iterator<T> iterator2 = o2.iterator(); in compare() local 610 return compare(iterator1, iterator2); in compare() 669 Iterator<T> iterator2 = o2.iterator(); in compareEntrySets() local 672 return iterator2.hasNext() ? -1 : 0; in compareEntrySets() 673 } else if (!iterator2.hasNext()) { in compareEntrySets() 677 T item2 = iterator2.next(); in compareEntrySets()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/ |
D | CollectionUtilities.java | 585 public static <T extends Comparable> int compare(Iterator<T> iterator1, Iterator<T> iterator2) { in compare() argument 589 return iterator2.hasNext() ? -1 : 0; in compare() 590 } else if (!iterator2.hasNext()) { in compare() 593 diff = CollectionUtilities.compare(iterator1.next(), iterator2.next()); in compare() 612 Iterator<T> iterator2 = o2.iterator(); in compare() local 613 return compare(iterator1, iterator2); in compare() 672 Iterator<T> iterator2 = o2.iterator(); in compareEntrySets() local 675 return iterator2.hasNext() ? -1 : 0; in compareEntrySets() 676 } else if (!iterator2.hasNext()) { in compareEntrySets() 680 T item2 = iterator2.next(); in compareEntrySets()
|
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/ |
D | ModifierKeyCombinationSet.java | 80 Iterator<ModifierKeyCombination> iterator2 = o.combinations.iterator(); in compareTo() local 82 while (iterator1.hasNext() && iterator2.hasNext()) { in compareTo() 84 ModifierKeyCombination combination2 = iterator2.next(); in compareTo()
|
D | ModifierKeyCombination.java | 183 Iterator<ModifierKey> iterator2 = set2.iterator(); in compareSetsDescending() local 185 while (iterator1.hasNext() && iterator2.hasNext()) { in compareSetsDescending() 187 ModifierKey modifierKey2 = iterator2.next(); in compareSetsDescending()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/iterator/ |
D | TestUCharacterIterator.java | 88 UCharacterIterator iterator2 = UCharacterIterator.getInstance( in TestIteration() local 102 iterator2.setIndex(0); in TestIteration() 106 int index = iterator2.getIndex(); in TestIteration() 107 ch = iterator2.nextCodePoint(); in TestIteration() 123 iterator2.setIndex(ITERATION_STRING_.length()); in TestIteration() 125 int index = iterator2.getIndex(); in TestIteration() 126 ch = iterator2.previousCodePoint(); in TestIteration()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/iterator/ |
D | TestUCharacterIterator.java | 85 UCharacterIterator iterator2 = UCharacterIterator.getInstance( in TestIteration() local 99 iterator2.setIndex(0); in TestIteration() 103 int index = iterator2.getIndex(); in TestIteration() 104 ch = iterator2.nextCodePoint(); in TestIteration() 120 iterator2.setIndex(ITERATION_STRING_.length()); in TestIteration() 122 int index = iterator2.getIndex(); in TestIteration() 123 ch = iterator2.previousCodePoint(); in TestIteration()
|
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/ |
D | DualScaleXYPlotExampleActivity.java | 160 Iterator<XYSeries> iterator2 = myXYPlot_RIGHT.getSeriesSet().iterator(); in updateView() local 161 while(iterator2.hasNext()) { in updateView() 162 XYSeries setElement = iterator2.next(); in updateView()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
D | CollationAPITest.java | 299 …CollationElementIterator iterator2 = ((RuleBasedCollator)col).getCollationElementIterator(chariter… in TestElemIter() local 314 doAssert(!(iterator1.equals(iterator2)), "The first iterator advance failed"); in TestElemIter() 315 order2 = iterator2.next(); in TestElemIter() 327 … doAssert(iterator1.getOffset() == iterator2.getOffset(), "The second iterator advance failed"); in TestElemIter() 355 iterator2.reset(); in TestElemIter() 359 doAssert(!(iterator1.equals(iterator2)), "The first iterator advance failed"); in TestElemIter() 361 order2 = iterator2.next(); in TestElemIter() 366 … doAssert(iterator1.getOffset() == iterator2.getOffset(), "The second iterator advance failed"); in TestElemIter() 379 order2 = iterator2.next(); in TestElemIter() 394 doAssert(!(iterator2.equals(iterator3)), "The iterators should be different"); in TestElemIter()
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
D | CollationAPITest.java | 296 …CollationElementIterator iterator2 = ((RuleBasedCollator)col).getCollationElementIterator(chariter… in TestElemIter() local 311 doAssert(!(iterator1.equals(iterator2)), "The first iterator advance failed"); in TestElemIter() 312 order2 = iterator2.next(); in TestElemIter() 324 … doAssert(iterator1.getOffset() == iterator2.getOffset(), "The second iterator advance failed"); in TestElemIter() 352 iterator2.reset(); in TestElemIter() 356 doAssert(!(iterator1.equals(iterator2)), "The first iterator advance failed"); in TestElemIter() 358 order2 = iterator2.next(); in TestElemIter() 363 … doAssert(iterator1.getOffset() == iterator2.getOffset(), "The second iterator advance failed"); in TestElemIter() 376 order2 = iterator2.next(); in TestElemIter() 391 doAssert(!(iterator2.equals(iterator3)), "The iterators should be different"); in TestElemIter()
|
/external/guava/guava/src/com/google/common/collect/ |
D | Multisets.java | 410 final Iterator<? extends Entry<? extends E>> iterator2 422 while (iterator2.hasNext()) { 423 Entry<? extends E> entry2 = iterator2.next(); 552 final Iterator<? extends Entry<? extends E>> iterator2 563 while (iterator2.hasNext()) { 564 Entry<? extends E> entry2 = iterator2.next();
|
D | Iterators.java | 268 Iterator<?> iterator1, Iterator<?> iterator2) { 270 if (!iterator2.hasNext()) { 274 Object o2 = iterator2.next(); 279 return !iterator2.hasNext();
|
/external/icu/icu4c/source/test/intltest/ |
D | apicoll.cpp | 655 …CollationElementIterator *iterator2 = ((RuleBasedCollator*)col)->createCollationElementIterator(te… in TestElemIter() local 670 doAssert((*iterator1 == *iterator2), "The two iterators should be the same"); in TestElemIter() 674 doAssert((*coliter == *iterator2), "The two iterators should be the same"); in TestElemIter() 684 doAssert((*iterator1 != *iterator2), "The first iterator advance failed"); in TestElemIter() 685 order2 = iterator2->getOffset(); in TestElemIter() 687 order2 = iterator2->next(success); in TestElemIter() 694 doAssert((*iterator1 == *iterator2), "The second iterator advance failed"); in TestElemIter() 731 iterator1->reset(); iterator2->reset(); iterator3->reset(); in TestElemIter() 739 doAssert((*iterator1 != *iterator2), "The first iterator advance failed"); in TestElemIter() 741 order2 = iterator2->next(success); in TestElemIter() [all …]
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
D | Iterators.java | 266 Iterator<?> iterator1, Iterator<?> iterator2) { 268 if (!iterator2.hasNext()) { 272 Object o2 = iterator2.next(); 277 return !iterator2.hasNext();
|
/external/icu/icu4c/source/test/cintltst/ |
D | capitst.c | 1275 UCollationElements *iterator1, *iterator2, *iterator3; in TestElemIter() local 1300 iterator2 = ucol_openElements(col, testString1, u_strlen(testString1), &status); in TestElemIter() 1335 order2=ucol_getOffset(iterator2); in TestElemIter() 1337 order2 = ucol_next(iterator2, &status); in TestElemIter() 1392 ucol_closeElements(iterator2); in TestElemIter()
|