1403 |
|
if (p == (p = p.next)) |
1404 |
|
p = first(); |
1405 |
|
} while (p != null && i < n); |
1406 |
< |
if ((current = p) == null) |
1407 |
< |
exhausted = true; |
1406 |
> |
exhausted = ((current = p) == null); |
1407 |
|
if (i > 0) { |
1408 |
|
batch = i; |
1409 |
|
return Spliterators.spliterator |
1421 |
|
if (action == null) throw new NullPointerException(); |
1422 |
|
if (!exhausted && |
1423 |
|
((p = current) != null || (p = first()) != null)) { |
1424 |
+ |
current = null; |
1425 |
|
exhausted = true; |
1426 |
|
do { |
1427 |
|
E e = p.item; |
1444 |
|
if (p == (p = p.next)) |
1445 |
|
p = first(); |
1446 |
|
} while (e == null && p != null); |
1447 |
< |
if ((current = p) == null) |
1448 |
< |
exhausted = true; |
1447 |
> |
exhausted = ((current = p) == null); |
1448 |
|
if (e != null) { |
1449 |
|
action.accept(e); |
1450 |
|
return true; |