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

Comparing jsr166/src/jsr166e/extra/AtomicDouble.java (file contents):
Revision 1.16 by jsr166, Mon Mar 4 15:21:23 2013 UTC vs.
Revision 1.19 by jsr166, Mon Jul 22 16:47:46 2013 UTC

# Line 123 | Line 123 | public class AtomicDouble extends Number
123       * if the current value is <a href="#bitEquals">bitwise equal</a>
124       * to the expected value.
125       *
126 <     * <p>May <a
126 >     * <p><a
127       * href="http://download.oracle.com/javase/7/docs/api/java/util/concurrent/atomic/package-summary.html#Spurious">
128 <     * fail spuriously</a>
129 <     * and does not provide ordering guarantees, so is only rarely an
130 <     * appropriate alternative to {@code compareAndSet}.
128 >     * May fail spuriously and does not provide ordering guarantees</a>,
129 >     * so is only rarely an appropriate alternative to {@code compareAndSet}.
130       *
131       * @param expect the expected value
132       * @param update the new value
# Line 213 | Line 212 | public class AtomicDouble extends Number
212      /**
213       * Saves the state to a stream (that is, serializes it).
214       *
215 +     * @param s the stream
216 +     * @throws java.io.IOException if an I/O error occurs
217       * @serialData The current value is emitted (a {@code double}).
218       */
219      private void writeObject(java.io.ObjectOutputStream s)
# Line 224 | Line 225 | public class AtomicDouble extends Number
225  
226      /**
227       * Reconstitutes the instance from a stream (that is, deserializes it).
228 +     * @param s the stream
229 +     * @throws ClassNotFoundException if the class of a serialized object
230 +     *         could not be found
231 +     * @throws java.io.IOException if an I/O error occurs
232       */
233      private void readObject(java.io.ObjectInputStream s)
234          throws java.io.IOException, ClassNotFoundException {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines