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

Comparing jsr166/src/jsr166e/DoubleMaxUpdater.java (file contents):
Revision 1.2 by jsr166, Sat Sep 10 01:38:28 2011 UTC vs.
Revision 1.4 by jsr166, Sat Oct 15 21:29:34 2011 UTC

# Line 140 | Line 140 | public class DoubleMaxUpdater extends St
140  
141      /**
142       * Returns the String representation of the {@link #max}.
143 <     * @return the String representation of the {@link #max}.
143 >     * @return the String representation of the {@link #max}
144       */
145      public String toString() {
146          return Double.toString(max());
# Line 157 | Line 157 | public class DoubleMaxUpdater extends St
157  
158      /**
159       * Returns the {@link #max} as a {@code long} after a
160 <     * primitive conversion.
160 >     * narrowing primitive conversion.
161       */
162      public long longValue() {
163          return (long)max();
# Line 165 | Line 165 | public class DoubleMaxUpdater extends St
165  
166      /**
167       * Returns the {@link #max} as an {@code int} after a
168 <     * primitive conversion.
168 >     * narrowing primitive conversion.
169       */
170      public int intValue() {
171          return (int)max();
# Line 173 | Line 173 | public class DoubleMaxUpdater extends St
173  
174      /**
175       * Returns the {@link #max} as a {@code float}
176 <     * after a primitive conversion.
176 >     * after a narrowing primitive conversion.
177       */
178      public float floatValue() {
179          return (float)max();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines