ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/ConcurrentHashMap.java
(Generate patch)

Comparing jsr166/src/main/java/util/concurrent/ConcurrentHashMap.java (file contents):
Revision 1.161 by jsr166, Thu Jan 10 17:49:43 2013 UTC vs.
Revision 1.162 by dl, Wed Jan 16 15:04:03 2013 UTC

# Line 8 | Line 8 | package java.util.concurrent;
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  
# Line 2947 | Line 2947 | public class ConcurrentHashMap<K, V>
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();
# Line 2987 | Line 2987 | public class ConcurrentHashMap<K, V>
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();
# Line 3029 | Line 3029 | public class ConcurrentHashMap<K, V>
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();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines