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

Comparing jsr166/src/jsr166e/extra/AtomicDoubleArray.java (file contents):
Revision 1.2 by jsr166, Thu Oct 20 16:33:25 2011 UTC vs.
Revision 1.3 by jsr166, Thu Oct 20 17:47:36 2011 UTC

# Line 20 | Line 20 | import static java.lang.Double.longBitsT
20   * which differs from both the primitive double {@code ==} operator
21   * and from {@link Double#equals}, as if implemented by:
22   *  <pre> {@code
23 < * boolean bitEquals(double x, double y) {
23 > * static boolean bitEquals(double x, double y) {
24   *   long xBits = Double.doubleToRawLongBits(x);
25   *   long yBits = Double.doubleToRawLongBits(y);
26   *   return xBits == yBits;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines