Searched refs:nextElements (Results 1 – 3 of 3) sorted by relevance
186 final Stack<E> nextElements = new Stack<E>(); field in AbstractIteratorTester.MultiExceptionListIterator203 Helpers.addAll(nextElements, Helpers.reverse(expectedElements)); in MultiExceptionListIterator()205 previousElements.push(nextElements.pop()); in MultiExceptionListIterator()221 return !nextElements.isEmpty(); in hasNext()231 return transferElement(nextElements, previousElements); in next()241 return transferElement(previousElements, nextElements); in previous()279 if (nextElements.remove(e)) { in promoteToNext()280 nextElements.push(e); in promoteToNext()282 throw new UnknownElementException(nextElements, e); in promoteToNext()316 Helpers.addAll(elements, Helpers.reverse(nextElements)); in getElements()
967 String[] nextElements = new String[count]; in Test4179216() local975 nextElements[count++] = testText.substring(lastPos, iter.getOffset()); in Test4179216()987 for (int i = 0; i < nextElements.length; i++) { in Test4179216()988 if (nextElements[i].equals(setOffsetElements[i])) { in Test4179216()989 logln(nextElements[i]); in Test4179216()991 errln("Error: next() yielded " + nextElements[i] + ", but setOffset() yielded " in Test4179216()
1144 LocalArray<UnicodeString> nextElements(new UnicodeString[count]); in Test4179216() local1152 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()