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

Comparing jsr166/src/jsr166e/DoubleAdder.java (file contents):
Revision 1.3 by jsr166, Sat Sep 10 01:44:53 2011 UTC vs.
Revision 1.4 by jsr166, Sat Oct 15 21:29:34 2011 UTC

# Line 162 | Line 162 | public class DoubleAdder extends Striped
162  
163      /**
164       * Returns the {@link #sum} as a {@code long} after a
165 <     * primitive conversion.
165 >     * narrowing primitive conversion.
166       */
167      public long longValue() {
168          return (long)sum();
# Line 170 | Line 170 | public class DoubleAdder extends Striped
170  
171      /**
172       * Returns the {@link #sum} as an {@code int} after a
173 <     * primitive conversion.
173 >     * narrowing primitive conversion.
174       */
175      public int intValue() {
176          return (int)sum();
# Line 178 | Line 178 | public class DoubleAdder extends Striped
178  
179      /**
180       * Returns the {@link #sum} as a {@code float}
181 <     * after a primitive conversion.
181 >     * after a narrowing primitive conversion.
182       */
183      public float floatValue() {
184          return (float)sum();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines