< prev index next >

src/java.base/share/classes/java/lang/Float.java

Print this page

        

@@ -600,11 +600,11 @@
      * Returns the value of this {@code Float} as a {@code byte} after
      * a narrowing primitive conversion.
      *
      * @return  the {@code float} value represented by this object
      *          converted to type {@code byte}
-     * @jls 5.1.3 Narrowing Primitive Conversions
+     * @jls 5.1.3 Narrowing Primitive Conversion
      */
     public byte byteValue() {
         return (byte)value;
     }
 

@@ -612,11 +612,11 @@
      * Returns the value of this {@code Float} as a {@code short}
      * after a narrowing primitive conversion.
      *
      * @return  the {@code float} value represented by this object
      *          converted to type {@code short}
-     * @jls 5.1.3 Narrowing Primitive Conversions
+     * @jls 5.1.3 Narrowing Primitive Conversion
      * @since 1.1
      */
     public short shortValue() {
         return (short)value;
     }

@@ -625,11 +625,11 @@
      * Returns the value of this {@code Float} as an {@code int} after
      * a narrowing primitive conversion.
      *
      * @return  the {@code float} value represented by this object
      *          converted to type {@code int}
-     * @jls 5.1.3 Narrowing Primitive Conversions
+     * @jls 5.1.3 Narrowing Primitive Conversion
      */
     public int intValue() {
         return (int)value;
     }
 

@@ -637,11 +637,11 @@
      * Returns value of this {@code Float} as a {@code long} after a
      * narrowing primitive conversion.
      *
      * @return  the {@code float} value represented by this object
      *          converted to type {@code long}
-     * @jls 5.1.3 Narrowing Primitive Conversions
+     * @jls 5.1.3 Narrowing Primitive Conversion
      */
     public long longValue() {
         return (long)value;
     }
 

@@ -659,11 +659,11 @@
      * Returns the value of this {@code Float} as a {@code double}
      * after a widening primitive conversion.
      *
      * @return the {@code float} value represented by this
      *         object converted to type {@code double}
-     * @jls 5.1.2 Widening Primitive Conversions
+     * @jls 5.1.2 Widening Primitive Conversion
      */
     public double doubleValue() {
         return (double)value;
     }
 
< prev index next >