Home
last modified time | relevance | path

Searched refs:nextElements (Results 1 – 5 of 5) sorted by relevance

/external/guava/guava-testlib/src/com/google/common/collect/testing/
DAbstractIteratorTester.java138 final Stack<E> nextElements = new Stack<E>(); field in AbstractIteratorTester.MultiExceptionListIterator
154 Helpers.addAll(nextElements, Helpers.reverse(expectedElements)); in MultiExceptionListIterator()
156 previousElements.push(nextElements.pop()); in MultiExceptionListIterator()
172 return !nextElements.isEmpty(); in hasNext()
182 return transferElement(nextElements, previousElements); in next()
192 return transferElement(previousElements, nextElements); in previous()
227 if (nextElements.remove(e)) { in promoteToNext()
228 nextElements.push(e); in promoteToNext()
230 throw new UnknownElementException(nextElements, e); in promoteToNext()
259 Helpers.addAll(elements, Helpers.reverse(nextElements)); in getElements()
/external/guava/android/guava-testlib/src/com/google/common/collect/testing/
DAbstractIteratorTester.java138 final Stack<E> nextElements = new Stack<E>(); field in AbstractIteratorTester.MultiExceptionListIterator
154 Helpers.addAll(nextElements, Helpers.reverse(expectedElements)); in MultiExceptionListIterator()
156 previousElements.push(nextElements.pop()); in MultiExceptionListIterator()
172 return !nextElements.isEmpty(); in hasNext()
182 return transferElement(nextElements, previousElements); in next()
192 return transferElement(previousElements, nextElements); in previous()
227 if (nextElements.remove(e)) { in promoteToNext()
228 nextElements.push(e); in promoteToNext()
230 throw new UnknownElementException(nextElements, e); in promoteToNext()
259 Helpers.addAll(elements, Helpers.reverse(nextElements)); in getElements()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationRegressionTest.java1005 String[] nextElements = new String[count]; in Test4179216() local
1013 nextElements[count++] = testText.substring(lastPos, iter.getOffset()); in Test4179216()
1025 for (int i = 0; i < nextElements.length; i++) { in Test4179216()
1026 if (nextElements[i].equals(setOffsetElements[i])) { in Test4179216()
1027 logln(nextElements[i]); in Test4179216()
1029 errln("Error: next() yielded " + nextElements[i] + ", but setOffset() yielded " in Test4179216()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationRegressionTest.java1002 String[] nextElements = new String[count]; in Test4179216() local
1010 nextElements[count++] = testText.substring(lastPos, iter.getOffset()); in Test4179216()
1022 for (int i = 0; i < nextElements.length; i++) { in Test4179216()
1023 if (nextElements[i].equals(setOffsetElements[i])) { in Test4179216()
1024 logln(nextElements[i]); in Test4179216()
1026 errln("Error: next() yielded " + nextElements[i] + ", but setOffset() yielded " in Test4179216()
/external/icu/icu4c/source/test/intltest/
Dregcoll.cpp1144 LocalArray<UnicodeString> nextElements(new UnicodeString[count]); in Test4179216() local
1152 nextElements[count++] = testText.tempSubStringBetween(lastPos, iter->getOffset()); in Test4179216()
1166 if (nextElements[i] == setOffsetElements[i]) { in Test4179216()
1167 logln(nextElements[i]); in Test4179216()
1169 errln(UnicodeString("Error: next() yielded ") + nextElements[i] + in Test4179216()