OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:hasNext
(Results
1 - 25
of
1087
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/dalvik/dexgen/src/com/android/dexgen/util/
IntIterator.java
29
boolean
hasNext
();
/dalvik/dx/src/com/android/dx/util/
IntIterator.java
29
boolean
hasNext
();
/external/dexmaker/src/dx/java/com/android/dx/util/
IntIterator.java
29
boolean
hasNext
();
/libcore/luni/src/main/java/java/util/
Iterator.java
24
* methods {@code next} and {@code
hasNext
()} may throw a {@code ConcurrentModificationException}.
40
public boolean
hasNext
();
48
* @see #
hasNext
AbstractCollection.java
75
while (it.
hasNext
()) {
101
while (it.
hasNext
()) {
129
while (it.
hasNext
()) {
135
while (it.
hasNext
()) {
166
while (it.
hasNext
()) {
227
while (it.
hasNext
()) {
234
while (it.
hasNext
()) {
276
while (it.
hasNext
()) {
317
while (it.
hasNext
()) {
380
while (it.
hasNext
()) {
[
all
...]
AbstractSet.java
78
while (it.
hasNext
()) {
101
while (it.
hasNext
()) {
109
while (it.
hasNext
()) {
/external/apache-harmony/support/src/test/java/tests/support/
Support_MapTest2.java
43
.
hasNext
());
45
.
hasNext
());
47
.
hasNext
());
57
.
hasNext
());
59
.
hasNext
());
61
.
hasNext
());
/libcore/support/src/test/java/tests/support/
Support_MapTest2.java
43
.
hasNext
());
45
.
hasNext
());
47
.
hasNext
());
57
.
hasNext
());
59
.
hasNext
());
61
.
hasNext
());
/external/apache-http/src/org/apache/http/
HeaderElementIterator.java
50
boolean
hasNext
();
54
* This method should only be called while {@link #
hasNext
hasNext
}
HeaderIterator.java
51
boolean
hasNext
()
57
* This method should only be called while {@link #
hasNext
hasNext
}
TokenIterator.java
54
boolean
hasNext
()
60
* This method should only be called while {@link #
hasNext
hasNext
}
/libcore/luni/src/test/java/libcore/java/util/
ServiceLoaderTest.java
25
assertFalse(ServiceLoader.load(UnimplementedInterface.class).iterator().
hasNext
());
33
assertTrue(it.
hasNext
());
35
assertTrue(it.
hasNext
());
37
assertFalse(it.
hasNext
());
/cts/tests/tests/text/src/android/text/cts/
TextUtils_SimpleStringSplitterTest.java
38
assertFalse(simpleStringSplitter.
hasNext
());
41
assertTrue(simpleStringSplitter.
hasNext
());
44
assertTrue(simpleStringSplitter.
hasNext
());
47
assertFalse(simpleStringSplitter.
hasNext
());
50
assertFalse(simpleStringSplitter.
hasNext
());
58
assertFalse(iterator.
hasNext
());
63
assertTrue(iterator.
hasNext
());
65
assertTrue(iterator.
hasNext
());
67
assertFalse(iterator.
hasNext
());
112
assertFalse(simpleStringSplitter.
hasNext
());
[
all
...]
/external/guava/guava-tests/test/com/google/common/base/
AbstractIteratorTest.java
57
assertTrue(iter.
hasNext
());
60
// verify idempotence of
hasNext
()
61
assertTrue(iter.
hasNext
());
62
assertTrue(iter.
hasNext
());
63
assertTrue(iter.
hasNext
());
66
assertFalse(iter.
hasNext
());
69
assertFalse(iter.
hasNext
());
94
iter.
hasNext
();
104
iter.
hasNext
();
120
iter.
hasNext
();
[
all
...]
/external/guava/guava-tests/test/com/google/common/collect/
UnmodifiableIteratorTest.java
40
public boolean
hasNext
() {
45
if (!
hasNext
()) {
52
assertTrue(iterator.
hasNext
());
AbstractIteratorTest.java
57
assertTrue(iter.
hasNext
());
60
// verify idempotence of
hasNext
()
61
assertTrue(iter.
hasNext
());
62
assertTrue(iter.
hasNext
());
63
assertTrue(iter.
hasNext
());
66
assertFalse(iter.
hasNext
());
69
assertFalse(iter.
hasNext
());
102
assertTrue(iter.
hasNext
());
176
iter.
hasNext
();
186
iter.
hasNext
();
[
all
...]
UnmodifiableListIteratorTest.java
37
assertTrue(iterator.
hasNext
());
48
assertTrue(iterator.
hasNext
());
61
assertTrue(iterator.
hasNext
());
77
public boolean
hasNext
() {
82
if (!
hasNext
()) {
/cts/tests/tests/holo/src/android/holo/cts/
SingleThemeLayoutIterator.java
30
private boolean
hasNext
= true;
40
public boolean
hasNext
() {
41
return
hasNext
;
52
hasNext
= false;
/external/guava/guava/src/com/google/common/collect/
ForwardingIterator.java
42
public boolean
hasNext
() {
43
return delegate().
hasNext
();
SingletonImmutableList.java
66
boolean
hasNext
= start == 0;
68
@Override public boolean
hasNext
() {
69
return
hasNext
;
73
return !
hasNext
;
77
if (!
hasNext
) {
80
hasNext
= false;
85
return
hasNext
? 0 : 1;
89
if (
hasNext
) {
92
hasNext
= true;
97
return
hasNext
? -1 : 0
[
all
...]
AbstractIterator.java
32
* #
hasNext
} method. But many data sources, such as {@link
45
* while (in.
hasNext
()) {
91
* <p>The initial invocation of {@link #
hasNext
()} or {@link #next()} calls
92
* this method, as does the first invocation of {@code
hasNext
} or {@code
98
* {@code
hasNext
} or {@code next} invocation that invoked this method. Any
102
* <p>The implementation of this method may not invoke the {@code
hasNext
},
109
* will propagate outward to the {@code
hasNext
()}, {@code next()}, or
129
public final boolean
hasNext
() {
153
if (!
hasNext
()) {
168
if (!
hasNext
()) {
[
all
...]
AbstractLinkedIterator.java
66
public final boolean
hasNext
() {
72
if (!
hasNext
()) {
/external/hamcrest/src/org/hamcrest/internal/
SelfDescribingValueIterator.java
14
public boolean
hasNext
() {
15
return values.
hasNext
();
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
ServiceLoaderTest.java
75
assertFalse(itr.
hasNext
());
81
assertFalse(itr.
hasNext
());
85
assertTrue(itr.
hasNext
());
87
assertFalse(itr.
hasNext
());
97
assertTrue(itr.
hasNext
());
100
assertFalse(itr.
hasNext
());
109
assertTrue(itr.
hasNext
());
135
assertFalse(itr.
hasNext
());
154
itr.
hasNext
();
186
assertTrue(itr.
hasNext
());
[
all
...]
/frameworks/base/core/java/android/content/
CursorEntityIterator.java
58
public final boolean
hasNext
() {
60
throw new IllegalStateException("calling
hasNext
() when the iterator is closed");
73
* @see EntityIterator#
hasNext
()
79
if (!
hasNext
()) {
80
throw new IllegalStateException("you may only call next() if
hasNext
() is true");
Completed in 656 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>