Home
last modified time | relevance | path

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

12345678910>>...49

/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/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/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/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/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 …]
DUnmodifiableListIteratorTest.java37 assertTrue(iterator.hasNext()); in testRemove()
48 assertTrue(iterator.hasNext()); in testAdd()
61 assertTrue(iterator.hasNext()); in testSet()
77 public boolean hasNext() { in create() method
82 if (!hasNext()) { in create()
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/
DCollectionUtilities.java57 for (Iterator it = collection.iterator(); it.hasNext();) { in join()
93 while (source.hasNext()) { in addAll()
106 while (source.hasNext()) { in size()
132 for (Iterator it = itemsToRemove.iterator(); it.hasNext();) { in removeAll()
148 if (!it.hasNext()) return null; in getFirst()
163 if (!it.hasNext()) return null; in getBest()
166 while (it.hasNext()) { in getBest()
174 while (it.hasNext()) { in getBest()
226 for (Iterator<T> it = c.iterator(); it.hasNext();) { in removeAll()
242 for (Iterator<T> it = c.iterator(); it.hasNext();) { in retainAll()
[all …]
DSortedBag.java58 if (!mapIterator.hasNext()) return EMPTY_ITERATOR; in getSetIterator()
61 public boolean hasNext() { in hasNext() method in SortedBag.MyIterator
62 return setIterator.hasNext() || mapIterator.hasNext(); in hasNext()
65 if (!setIterator.hasNext()) { in next()
96 for (Iterator it = iterator(); it.hasNext();) { in toArray()
113 for (Iterator it = c.iterator(); it.hasNext(); ) { in containsAll()
120 for (Iterator it = c.iterator(); it.hasNext(); ) { in addAll()
127 for (Iterator it = c.iterator(); it.hasNext(); ) { in removeAll()
136 for (Iterator it = iterator(); it.hasNext(); ) { in retainAll()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/
DCollectionUtilities.java58 for (Iterator it = collection.iterator(); it.hasNext();) { in join()
94 while (source.hasNext()) { in addAll()
107 while (source.hasNext()) { in size()
133 for (Iterator it = itemsToRemove.iterator(); it.hasNext();) { in removeAll()
149 if (!it.hasNext()) return null; in getFirst()
164 if (!it.hasNext()) return null; in getBest()
167 while (it.hasNext()) { in getBest()
175 while (it.hasNext()) { in getBest()
227 for (Iterator<T> it = c.iterator(); it.hasNext();) { in removeAll()
243 for (Iterator<T> it = c.iterator(); it.hasNext();) { in retainAll()
[all …]
DSortedBag.java59 if (!mapIterator.hasNext()) return EMPTY_ITERATOR; in getSetIterator()
62 public boolean hasNext() { in hasNext() method in SortedBag.MyIterator
63 return setIterator.hasNext() || mapIterator.hasNext(); in hasNext()
66 if (!setIterator.hasNext()) { in next()
97 for (Iterator it = iterator(); it.hasNext();) { in toArray()
114 for (Iterator it = c.iterator(); it.hasNext(); ) { in containsAll()
121 for (Iterator it = c.iterator(); it.hasNext(); ) { in addAll()
128 for (Iterator it = c.iterator(); it.hasNext(); ) { in removeAll()
137 for (Iterator it = iterator(); it.hasNext(); ) { in retainAll()
/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/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
DRouteSelectorTest.java113 assertTrue(routeSelector.hasNext()); in singleRoute()
118 assertFalse(routeSelector.hasNext()); in singleRoute()
130 assertTrue(routeSelector.hasNext()); in singleRouteReturnsFailedRoute()
136 assertFalse(routeSelector.hasNext()); in singleRouteReturnsFailedRoute()
150 assertTrue(routeSelector.hasNext()); in explicitProxyTriesThatProxysAddressesOnly()
155 assertFalse(routeSelector.hasNext()); in explicitProxyTriesThatProxysAddressesOnly()
166 assertTrue(routeSelector.hasNext()); in explicitDirectProxy()
171 assertFalse(routeSelector.hasNext()); in explicitDirectProxy()
183 assertTrue(routeSelector.hasNext()); in proxySelectorReturnsNull()
188 assertFalse(routeSelector.hasNext()); in proxySelectorReturnsNull()
[all …]
/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/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()
/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/jarjar/src/main/com/tonicsystems/jarjar/util/
DClassPathIterator.java83 public boolean hasNext() { in hasNext() method in ClassPathIterator
100 if (!hasNext()) in next()
112 if (!entries.hasNext()) { in advance()
113 if (!files.hasNext()) { in advance()
134 while (!foundClass && entries.hasNext()) { in advance()
152 public boolean hasNext() { in hasNext() method in ClassPathIterator.ZipIterator
187 public boolean hasNext() {
188 return entries.hasNext();

12345678910>>...49