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

Comparing jsr166/src/main/java/util/concurrent/ConcurrentReaderHashMap.java (file contents):
Revision 1.1 by dl, Tue May 27 15:50:13 2003 UTC vs.
Revision 1.2 by dl, Thu May 29 13:49:24 2003 UTC

# Line 284 | Line 284 | public class ConcurrentReaderHashMap<K,V
284       *               <code>null</code>.
285       * @see     #put(Object, Object)
286       */
287 <    public V get(Object key) { // should be "K key" but compiler complains?
287 >    public V get(K key) {
288          int hash = hash(key); // throws NullPointerException if key null
289  
290          if (count != 0) { // read-volatile

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines