ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/jsr166e/ConcurrentHashMapV8.java
(Generate patch)

Comparing jsr166/src/jsr166e/ConcurrentHashMapV8.java (file contents):
Revision 1.122 by jsr166, Thu Feb 26 06:53:34 2015 UTC vs.
Revision 1.124 by jsr166, Sun Sep 6 00:57:56 2015 UTC

# Line 488 | Line 488 | public class ConcurrentHashMapV8<K,V> ex
488       *
489       * Maintaining API and serialization compatibility with previous
490       * versions of this class introduces several oddities. Mainly: We
491 <     * leave untouched but unused constructor arguments refering to
491 >     * leave untouched but unused constructor arguments referring to
492       * concurrencyLevel. We accept a loadFactor constructor argument,
493       * but apply it only to initial table capacity (which is the only
494       * time that we can guarantee to honor it.) We also declare an
# Line 637 | Line 637 | public class ConcurrentHashMapV8<K,V> ex
637              this.next = next;
638          }
639  
640 <        public final K getKey()       { return key; }
641 <        public final V getValue()     { return val; }
642 <        public final int hashCode()   { return key.hashCode() ^ val.hashCode(); }
643 <        public final String toString(){ return key + "=" + val; }
640 >        public final K getKey()     { return key; }
641 >        public final V getValue()   { return val; }
642 >        public final int hashCode() { return key.hashCode() ^ val.hashCode(); }
643 >        public final String toString() { return key + "=" + val; }
644          public final V setValue(V value) {
645              throw new UnsupportedOperationException();
646          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines