Home
last modified time | relevance | path

Searched refs:hasNext (Results 1 – 25 of 1295) sorted by relevance

12345678910>>...52

/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/ui/
DFixedTableModelTest.java51 assertTrue(it.hasNext()); in testIterator()
54 assertTrue(it.hasNext()); in testIterator()
57 assertTrue(it.hasNext()); in testIterator()
60 assertTrue(it.hasNext()); in testIterator()
63 assertTrue(it.hasNext()); in testIterator()
66 assertFalse(it.hasNext()); in testIterator()
83 assertTrue(it.hasNext()); in testColumnMajor()
90 assertTrue(it.hasNext()); in testColumnMajor()
97 assertTrue(it.hasNext()); in testColumnMajor()
104 assertTrue(it.hasNext()); in testColumnMajor()
[all …]
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DConfigDescription.java168 if (iter.hasNext()) { in initFromParts()
205 boolean success = !part_iter.hasNext(); in parse()
206 if (part_iter.hasNext() && parseMcc(part_iter.peek(), out)) { in parse()
208 if (!part_iter.hasNext()) { in parse()
209 success = !part_iter.hasNext(); in parse()
213 if (part_iter.hasNext() && parseMnc(part_iter.peek(), out)) { in parse()
215 if (!part_iter.hasNext()) { in parse()
216 success = !part_iter.hasNext(); in parse()
220 if (part_iter.hasNext()) { in parse()
228 if (!part_iter.hasNext()) { in parse()
[all …]
/external/guava/guava/src/com/google/common/collect/
DIterators.java75 public boolean hasNext() {
129 @Override public boolean hasNext() {
163 public boolean hasNext() { in unmodifiableIterator()
164 return iterator.hasNext(); in unmodifiableIterator()
191 while (iterator.hasNext()) {
234 while (removeFrom.hasNext()) {
269 while (iterator1.hasNext()) {
270 if (!iterator2.hasNext()) {
279 return !iterator2.hasNext();
303 if (!iterator.hasNext()) {
[all …]
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DIterators.java73 public boolean hasNext() {
127 @Override public boolean hasNext() {
161 public boolean hasNext() { in unmodifiableIterator()
162 return iterator.hasNext(); in unmodifiableIterator()
189 while (iterator.hasNext()) {
232 while (removeFrom.hasNext()) {
267 while (iterator1.hasNext()) {
268 if (!iterator2.hasNext()) {
277 return !iterator2.hasNext();
301 if (!iterator.hasNext()) {
[all …]
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DIteratorsTest.java54 assertFalse(iterator.hasNext()); in testEmptyIterator()
69 assertFalse(iterator.hasNext()); in testEmptyListIterator()
102 assertFalse(iterator.hasNext()); in testEmptyModifiableIterator()
305 assertFalse(iterator.hasNext()); in testFind_lastElement()
316 assertFalse(iterator.hasNext()); in testFind_notPresent()
338 assertFalse(iterator.hasNext()); in testFind_withDefault_last()
346 assertFalse(iterator.hasNext()); in testFind_withDefault_notPresent()
354 assertFalse(iterator.hasNext()); in testFind_withDefault_notPresent_nullReturn()
391 assertFalse(iterator.hasNext()); in testTryFind_alwaysFalse_orDefault()
399 assertFalse(iterator.hasNext()); in testTryFind_alwaysFalse_isPresent()
[all …]
DAbstractIteratorTest.java57 assertTrue(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
61 assertTrue(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
62 assertTrue(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
63 assertTrue(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
66 assertFalse(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
69 assertFalse(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
102 assertTrue(iter.hasNext()); in testDefaultBehaviorOfPeek()
176 iter.hasNext(); in testSneakyThrow()
186 iter.hasNext(); in testSneakyThrow()
202 iter.hasNext(); in testException()
[all …]
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
DAbstractIteratorTest.java56 assertTrue(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
60 assertTrue(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
61 assertTrue(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
62 assertTrue(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
65 assertFalse(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
68 assertFalse(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
93 iter.hasNext(); in testSneakyThrow()
103 iter.hasNext(); in testSneakyThrow()
119 iter.hasNext(); in testException()
134 iter.hasNext(); in testExceptionAfterEndOfData()
[all …]
/external/guava/guava-tests/test/com/google/common/base/
DAbstractIteratorTest.java59 assertTrue(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
63 assertTrue(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
64 assertTrue(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
65 assertTrue(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
68 assertFalse(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
71 assertFalse(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
96 iter.hasNext(); in testSneakyThrow()
106 iter.hasNext(); in testSneakyThrow()
122 iter.hasNext(); in testException()
137 iter.hasNext(); in testExceptionAfterEndOfData()
[all …]
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/
DCollectionUtilities.java61 for (Iterator it = collection.iterator(); it.hasNext();) { in join()
97 while (source.hasNext()) { in addAll()
110 while (source.hasNext()) { in size()
136 for (Iterator it = itemsToRemove.iterator(); it.hasNext();) { in removeAll()
152 if (!it.hasNext()) return null; in getFirst()
167 if (!it.hasNext()) return null; in getBest()
170 while (it.hasNext()) { in getBest()
178 while (it.hasNext()) { in getBest()
230 for (Iterator<T> it = c.iterator(); it.hasNext();) { in removeAll()
246 for (Iterator<T> it = c.iterator(); it.hasNext();) { in retainAll()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/
DCollectionUtilities.java64 for (Iterator it = collection.iterator(); it.hasNext();) { in join()
100 while (source.hasNext()) { in addAll()
113 while (source.hasNext()) { in size()
139 for (Iterator it = itemsToRemove.iterator(); it.hasNext();) { in removeAll()
155 if (!it.hasNext()) return null; in getFirst()
170 if (!it.hasNext()) return null; in getBest()
173 while (it.hasNext()) { in getBest()
181 while (it.hasNext()) { in getBest()
233 for (Iterator<T> it = c.iterator(); it.hasNext();) { in removeAll()
249 for (Iterator<T> it = c.iterator(); it.hasNext();) { in retainAll()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DAbstractIteratorTest.java60 assertTrue(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
64 assertTrue(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
65 assertTrue(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
66 assertTrue(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
69 assertFalse(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
72 assertFalse(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
105 assertTrue(iter.hasNext()); in testDefaultBehaviorOfPeek()
190 iter.hasNext(); in testSneakyThrow()
200 iter.hasNext(); in testSneakyThrow()
216 iter.hasNext(); in testException()
[all …]
DIteratorsTest.java79 assertFalse(iterator.hasNext()); in testEmptyIterator()
94 assertFalse(iterator.hasNext()); in testEmptyListIterator()
127 assertFalse(iterator.hasNext()); in testEmptyModifiableIterator()
369 assertFalse(iterator.hasNext()); in testFind_lastElement()
380 assertFalse(iterator.hasNext()); in testFind_notPresent()
402 assertFalse(iterator.hasNext()); in testFind_withDefault_last()
410 assertFalse(iterator.hasNext()); in testFind_withDefault_notPresent()
418 assertFalse(iterator.hasNext()); in testFind_withDefault_notPresent_nullReturn()
455 assertFalse(iterator.hasNext()); in testTryFind_alwaysFalse_orDefault()
463 assertFalse(iterator.hasNext()); in testTryFind_alwaysFalse_isPresent()
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
DRouteSelectorTest.java85 assertTrue(routeSelector.hasNext()); in singleRoute()
90 assertFalse(routeSelector.hasNext()); in singleRoute()
102 assertTrue(routeSelector.hasNext()); in singleRouteReturnsFailedRoute()
108 assertFalse(routeSelector.hasNext()); in singleRouteReturnsFailedRoute()
121 assertTrue(routeSelector.hasNext()); in explicitProxyTriesThatProxysAddressesOnly()
126 assertFalse(routeSelector.hasNext()); in explicitProxyTriesThatProxysAddressesOnly()
136 assertTrue(routeSelector.hasNext()); in explicitDirectProxy()
141 assertFalse(routeSelector.hasNext()); in explicitDirectProxy()
153 assertTrue(routeSelector.hasNext()); in proxySelectorReturnsNull()
158 assertFalse(routeSelector.hasNext()); in proxySelectorReturnsNull()
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue9/
DNopropTest.java29 assertTrue(docs.hasNext()); in testOK01()
38 assertTrue(docs.hasNext()); in testOK02()
47 assertTrue(docs.hasNext()); in testOK03()
56 assertTrue(docs.hasNext()); in testOK04()
65 assertTrue(docs.hasNext()); in testOK05()
74 assertTrue(docs.hasNext()); in testOK06()
83 assertTrue(docs.hasNext()); in testEmptyBean()
92 assertTrue(docs.hasNext()); in testEmptyBean2()
101 assertTrue(docs.hasNext()); in testEmptyDoc()
110 assertTrue(docs.hasNext()); in testEmptyDoc2()
[all …]
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
DXMPIteratorImpl.java144 public boolean hasNext() in hasNext() method in XMPIteratorImpl
146 return nodeIterator.hasNext(); in hasNext()
264 public boolean hasNext() in hasNext() method in XMPIteratorImpl.NodeIterator
284 boolean hasNext = iterateChildren(childrenIterator); in hasNext()
286 if (!hasNext && visitedNode.hasQualifier() && !getOptions().isOmitQualifiers()) in hasNext()
290 hasNext = hasNext(); in hasNext()
292 return hasNext; in hasNext()
321 return hasNext(); in reportNode()
342 if ((!subIterator.hasNext()) && iterator.hasNext()) in iterateChildren()
349 if (subIterator.hasNext()) in iterateChildren()
[all …]
DISO8601Converter.java109 if (input.hasNext() && input.ch() != '-') in parse()
119 if (!input.hasNext()) in parse()
128 if (input.hasNext() && input.ch() != '-') in parse()
133 if (!input.hasNext()) in parse()
142 if (input.hasNext() && input.ch() != 'T') in parse()
147 if (!input.hasNext()) in parse()
184 if (input.hasNext() && in parse()
195 if (input.hasNext() && input.ch() != '.' && input.ch() != 'Z' && in parse()
232 else if (input.hasNext()) in parse()
267 if (input.hasNext()) in parse()
[all …]
DXMPSerializerRDF.java314 for (Iterator it = xmp.getRoot().iterateChildren(); it.hasNext(); ) in serializePrettyRDFSchemas()
363 for (Iterator it = xmp.getRoot().iterateChildren(); it.hasNext();) in serializeCompactRDFSchemas()
371 for (Iterator it = xmp.getRoot().iterateChildren(); it.hasNext();) in serializeCompactRDFSchemas()
390 for (Iterator it = xmp.getRoot().iterateChildren(); it.hasNext();) in serializeCompactRDFSchemas()
417 for (Iterator it = parentNode.iterateChildren(); it.hasNext();) in serializeCompactRDFAttrProps()
491 for (Iterator it = parentNode.iterateChildren(); it.hasNext();) in serializeCompactRDFElementProps()
518 for (Iterator iq = node.iterateQualifier(); iq.hasNext();) in serializeCompactRDFElementProps()
663 for (Iterator ic = node.iterateChildren(); ic.hasNext(); ) in serializeCompactRDFStructProp()
757 for (Iterator iq = node.iterateQualifier(); iq.hasNext();) in serializeCompactRDFGeneralQualifier()
809 for (Iterator it = schemaNode.iterateChildren(); it.hasNext();) in serializePrettyRDFSchema()
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/
DTextElementIteratorsFactory.java48 public boolean hasNext() { in hasNext() method in TextElementIteratorsFactory.CascadingIterator
49 if (current.hasNext()) { in hasNext()
55 return next.hasNext(); in hasNext()
60 if (current.hasNext()) { in next()
89 public boolean hasNext() { in hasNext() method in TextElementIteratorsFactory.EmptyIterator
108 public boolean hasNext() { in hasNext() method in TextElementIteratorsFactory.SingleElementIterator
134 public boolean hasNext() { in hasNext() method in TextElementIteratorsFactory.ComposedIterator
138 if (elements.get(currIndex).hasNext()){ in hasNext()
142 return hasNext(); in hasNext()
147 if (!hasNext()) { in next()
/external/cldr/tools/java/org/unicode/cldr/util/
DSortedBag.java63 if (!mapIterator.hasNext()) return EMPTY_ITERATOR; in getSetIterator()
67 public boolean hasNext() { in hasNext() method in SortedBag.MyIterator
68 return setIterator.hasNext() || mapIterator.hasNext(); in hasNext()
72 if (!setIterator.hasNext()) { in next()
110 for (Iterator it = iterator(); it.hasNext();) { in toArray()
129 for (Iterator it = c.iterator(); it.hasNext();) { in containsAll()
137 for (Iterator it = c.iterator(); it.hasNext();) { in addAll()
145 for (Iterator it = c.iterator(); it.hasNext();) { in removeAll()
155 for (Iterator it = iterator(); it.hasNext();) { in retainAll()
/external/apache-harmony/support/src/test/java/tests/support/
DSupport_MapTest2.java43 .hasNext()); in runTest()
45 .hasNext()); in runTest()
47 .hasNext()); in runTest()
57 .hasNext()); in runTest()
59 .hasNext()); in runTest()
61 .hasNext()); in runTest()
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
DOpenMapRealVector.java234 while (iter.hasNext()) { in add()
254 while (iter.hasNext()) { in append()
307 while(iter.hasNext()) { in dotProduct()
329 while (iter.hasNext()) {
342 while (iter.hasNext()) {
354 while (iter.hasNext()) {
367 while (iter.hasNext()) {
381 while (iter.hasNext()) {
396 while (iter.hasNext()) {
417 while (iter.hasNext()) {
[all …]
DAbstractRealVector.java99 while (it.hasNext() && (e = it.next()) != null) { in add()
114 while (it.hasNext() && (e = it.next()) != null) { in add()
126 while (it.hasNext() && (e = it.next()) != null) { in subtract()
142 while (it.hasNext() && (e = it.next()) != null) { in subtract()
180 while (it.hasNext() && (e = it.next()) != null) { in dotProduct()
202 while (it.hasNext() && (e = it.next()) != null) { in getDistance()
214 while (it.hasNext() && (e = it.next()) != null) { in getNorm()
226 while (it.hasNext() && (e = it.next()) != null) { in getL1Norm()
237 while (it.hasNext() && (e = it.next()) != null) { in getLInfNorm()
254 while (it.hasNext() && (e = it.next()) != null) { in getL1Distance()
[all …]
/external/cldr/tools/java/org/unicode/cldr/tool/
DMisc.java159 for (Iterator<String> it = languages.iterator(); it.hasNext();) { in main()
255 for (Iterator<String> typeIt = sc.getAvailableTypes().iterator(); typeIt.hasNext();) { in listObsoletes()
258 … for (Iterator<String> codeIt = sc.getAvailableCodes(type).iterator(); codeIt.hasNext();) { in listObsoletes()
287 for (Iterator<String> it2 = priorities.iterator(); it2.hasNext();) { in printAllZoneLocalizations()
292 for (Iterator<String> it = zones.iterator(); it.hasNext();) { in printAllZoneLocalizations()
329 for (Iterator<String> it2 = priorities.iterator(); it2.hasNext();) { in printAllZoneLocalizations()
339 for (Iterator<Integer> it = offset_zone_locale_name.keySet().iterator(); it.hasNext();) { in printAllZoneLocalizations()
343 for (Iterator<String> it2 = zone_locale_name.keySet().iterator(); it2.hasNext();) { in printAllZoneLocalizations()
354 for (Iterator<String> it3 = priorities.iterator(); it3.hasNext();) { in printAllZoneLocalizations()
404 for (Iterator<String> it = languages.iterator(); it.hasNext();) { in printCurrentTimezoneLocalizations()
[all …]
/external/smali/util/src/test/java/org/jf/util/
DAbstractForwardSequentialListTest.java54 @Override public boolean hasNext() { in setup()
59 if (!hasNext()) { in setup()
84 Assert.assertTrue(iter.hasNext()); in testForwardIterationImpl()
90 Assert.assertFalse(iter.hasNext()); in testForwardIterationImpl()
101 Assert.assertFalse(iter.hasNext()); in testReverseIterationImpl()
110 Assert.assertTrue(iter.hasNext()); in testReverseIterationImpl()
128 Assert.assertTrue(iter.hasNext()); in testAlternatingIteration()
135 Assert.assertTrue(iter.hasNext()); in testAlternatingIteration()
/external/guava/guava-testlib/test/com/google/common/collect/testing/
DMinimalIterableTest.java38 assertFalse(iterator.hasNext()); in testOf_empty()
54 assertTrue(iterator.hasNext()); in testOf_one()
56 assertFalse(iterator.hasNext()); in testOf_one()
73 assertFalse(iterator.hasNext()); in testFrom_empty()
90 assertTrue(iterator.hasNext()); in testFrom_one()
97 assertFalse(iterator.hasNext()); in testFrom_one()

12345678910>>...52