Home
last modified time | relevance | path

Searched refs:iterator1 (Results 1 – 13 of 13) sorted by relevance

/external/guava/guava/src/com/google/common/collect/
DMultisets.java408 final Iterator<? extends Entry<? extends E>> iterator1
416 if (iterator1.hasNext()) {
417 Entry<? extends E> entry1 = iterator1.next();
475 final Iterator<Entry<E>> iterator1 = multiset1.entrySet().iterator();
480 while (iterator1.hasNext()) {
481 Entry<E> entry1 = iterator1.next();
550 final Iterator<? extends Entry<? extends E>> iterator1
557 if (iterator1.hasNext()) {
558 Entry<? extends E> entry1 = iterator1.next();
614 final Iterator<Entry<E>> iterator1 = multiset1.entrySet().iterator();
[all …]
DIterators.java268 Iterator<?> iterator1, Iterator<?> iterator2) {
269 while (iterator1.hasNext()) {
273 Object o1 = iterator1.next();
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/
DModifierKeyCombinationSet.java79 Iterator<ModifierKeyCombination> iterator1 = combinations.iterator(); in compareTo() local
82 while (iterator1.hasNext() && iterator2.hasNext()) { in compareTo()
83 ModifierKeyCombination combination1 = iterator1.next(); in compareTo()
DModifierKeyCombination.java182 Iterator<ModifierKey> iterator1 = set1.iterator(); in compareSetsDescending() local
185 while (iterator1.hasNext() && iterator2.hasNext()) { in compareSetsDescending()
186 ModifierKey modifierKey1 = iterator1.next(); in compareSetsDescending()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationAPITest.java295 …CollationElementIterator iterator1 = ((RuleBasedCollator)col).getCollationElementIterator(testStri… in TestElemIter() local
304 offset = iterator1.getOffset(); in TestElemIter()
309 iterator1.setOffset(6); in TestElemIter()
310 iterator1.setOffset(0); in TestElemIter()
313 order1 = iterator1.next(); in TestElemIter()
314 doAssert(!(iterator1.equals(iterator2)), "The first iterator advance failed"); in TestElemIter()
319 iterator1.hashCode(); // We don't expect any particular value. in TestElemIter()
327 … doAssert(iterator1.getOffset() == iterator2.getOffset(), "The second iterator advance failed"); in TestElemIter()
338 order1 = iterator1.next(); in TestElemIter()
346 order1 = iterator1.next(); in TestElemIter()
[all …]
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationAPITest.java292 …CollationElementIterator iterator1 = ((RuleBasedCollator)col).getCollationElementIterator(testStri… in TestElemIter() local
301 offset = iterator1.getOffset(); in TestElemIter()
306 iterator1.setOffset(6); in TestElemIter()
307 iterator1.setOffset(0); in TestElemIter()
310 order1 = iterator1.next(); in TestElemIter()
311 doAssert(!(iterator1.equals(iterator2)), "The first iterator advance failed"); in TestElemIter()
316 iterator1.hashCode(); // We don't expect any particular value. in TestElemIter()
324 … doAssert(iterator1.getOffset() == iterator2.getOffset(), "The second iterator advance failed"); in TestElemIter()
335 order1 = iterator1.next(); in TestElemIter()
343 order1 = iterator1.next(); in TestElemIter()
[all …]
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/
DCollectionUtilities.java582 public static <T extends Comparable> int compare(Iterator<T> iterator1, Iterator<T> iterator2) { in compare() argument
585 if (!iterator1.hasNext()) { in compare()
590 diff = CollectionUtilities.compare(iterator1.next(), iterator2.next()); in compare()
608 Iterator<T> iterator1 = o1.iterator(); in compare() local
610 return compare(iterator1, iterator2); in compare()
668 Iterator<T> iterator1 = o1.iterator(); in compareEntrySets() local
671 if (!iterator1.hasNext()) { in compareEntrySets()
676 T item1 = iterator1.next(); in compareEntrySets()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/
DCollectionUtilities.java585 public static <T extends Comparable> int compare(Iterator<T> iterator1, Iterator<T> iterator2) { in compare() argument
588 if (!iterator1.hasNext()) { in compare()
593 diff = CollectionUtilities.compare(iterator1.next(), iterator2.next()); in compare()
611 Iterator<T> iterator1 = o1.iterator(); in compare() local
613 return compare(iterator1, iterator2); in compare()
671 Iterator<T> iterator1 = o1.iterator(); in compareEntrySets() local
674 if (!iterator1.hasNext()) { in compareEntrySets()
679 T item1 = iterator1.next(); in compareEntrySets()
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/
DDualScaleXYPlotExampleActivity.java155 Iterator<XYSeries> iterator1 = myXYPlot_LEFT.getSeriesSet().iterator(); in updateView() local
156 while(iterator1.hasNext()) { in updateView()
157 XYSeries setElement = iterator1.next(); in updateView()
DBarPlotExampleActivity.java279 Iterator<XYSeries> iterator1 = plot.getSeriesSet().iterator(); in updatePlot() local
280 while(iterator1.hasNext()) { in updatePlot()
281 XYSeries setElement = iterator1.next(); in updatePlot()
/external/icu/icu4c/source/test/intltest/
Dapicoll.cpp649 …CollationElementIterator *iterator1 = ((RuleBasedCollator*)col)->createCollationElementIterator(te… in TestElemIter() local
658 int32_t offset = iterator1->getOffset(); in TestElemIter()
663 iterator1->setOffset(6, success); in TestElemIter()
668 iterator1->setOffset(0, success); in TestElemIter()
670 doAssert((*iterator1 == *iterator2), "The two iterators should be the same"); in TestElemIter()
671 doAssert((*iterator1 != *iterator3), "The two iterators should be different"); in TestElemIter()
673 doAssert((*coliter == *iterator1), "The two iterators should be the same"); in TestElemIter()
677 order1 = iterator1->next(success); in TestElemIter()
684 doAssert((*iterator1 != *iterator2), "The first iterator advance failed"); in TestElemIter()
694 doAssert((*iterator1 == *iterator2), "The second iterator advance failed"); in TestElemIter()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dcapitst.c1275 UCollationElements *iterator1, *iterator2, *iterator3; in TestElemIter() local
1292 iterator1 = ucol_openElements(col, testString1, u_strlen(testString1), &status); in TestElemIter()
1316 offset=ucol_getOffset(iterator1); in TestElemIter()
1318 ucol_setOffset(iterator1, 6, &status); in TestElemIter()
1323 if(ucol_getOffset(iterator1)==6) in TestElemIter()
1326 log_err("error in set and get Offset got %d instead of 6\n", ucol_getOffset(iterator1)); in TestElemIter()
1329 ucol_setOffset(iterator1, 0, &status); in TestElemIter()
1330 order1 = ucol_next(iterator1, &status); in TestElemIter()
1354 order1=ucol_next(iterator1, &status); in TestElemIter()
1367 order1=ucol_next(iterator1, &status); in TestElemIter()
[all …]
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DIterators.java266 Iterator<?> iterator1, Iterator<?> iterator2) {
267 while (iterator1.hasNext()) {
271 Object o1 = iterator1.next();