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

Comparing jsr166/src/jsr166e/LongAdder.java (file contents):
Revision 1.10 by jsr166, Sun Nov 18 18:03:10 2012 UTC vs.
Revision 1.11 by jsr166, Sun Jan 6 05:57:42 2013 UTC

# Line 28 | Line 28 | import java.io.ObjectOutputStream;
28   * consumption.
29   *
30   * <p>This class extends {@link Number}, but does <em>not</em> define
31 < * methods such as {@code hashCode} and {@code compareTo} because
32 < * instances are expected to be mutated, and so are not useful as
33 < * collection keys.
31 > * methods such as {@code equals}, {@code hashCode} and {@code
32 > * compareTo} because instances are expected to be mutated, and so are
33 > * not useful as collection keys.
34   *
35   * <p><em>jsr166e note: This class is targeted to be placed in
36   * java.util.concurrent.atomic.</em>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines