8 |
|
import java.util.concurrent.ForkJoinPool; |
9 |
|
import java.util.concurrent.CountedCompleter; |
10 |
|
import java.util.function.*; |
11 |
< |
import java.util.stream.Spliterator; |
11 |
> |
import java.util.Spliterator; |
12 |
|
import java.util.stream.Stream; |
13 |
|
import java.util.stream.Streams; |
14 |
|
|
2947 |
|
|
2948 |
|
public final K nextElement() { return next(); } |
2949 |
|
|
2950 |
< |
public Iterator<K> asIterator() { return this; } |
2950 |
> |
public Iterator<K> iterator() { return this; } |
2951 |
|
|
2952 |
|
public void forEach(Block<? super K> action) { |
2953 |
|
if (action == null) throw new NullPointerException(); |
2987 |
|
|
2988 |
|
public final V nextElement() { return next(); } |
2989 |
|
|
2990 |
< |
public Iterator<V> asIterator() { return this; } |
2990 |
> |
public Iterator<V> iterator() { return this; } |
2991 |
|
|
2992 |
|
public void forEach(Block<? super V> action) { |
2993 |
|
if (action == null) throw new NullPointerException(); |
3029 |
|
return new MapEntry<K,V>((K)k, v, map); |
3030 |
|
} |
3031 |
|
|
3032 |
< |
public Iterator<Map.Entry<K,V>> asIterator() { return this; } |
3032 |
> |
public Iterator<Map.Entry<K,V>> iterator() { return this; } |
3033 |
|
|
3034 |
|
public void forEach(Block<? super Map.Entry<K,V>> action) { |
3035 |
|
if (action == null) throw new NullPointerException(); |