< prev index next >

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

Print this page
*** 22,11 ***
   * or visit www.oracle.com if you need additional information or have any
   * questions.
   */
  
  package java.lang;
- 
  /**
   * The abstract class {@code Number} is the superclass of platform
   * classes representing numeric values that are convertible to the
   * primitive types {@code byte}, {@code double}, {@code float}, {@code
   * int}, {@code long}, and {@code short}.
--- 22,10 ---

*** 50,10 ***
--- 49,11 ---
   * @author      Arthur van Hoff
   * @jls 5.1.2 Widening Primitive Conversion
   * @jls 5.1.3 Narrowing Primitive Conversion
   * @since   1.0
   */
+ @jdk.internal.MigratedValueClass
  public abstract class Number implements java.io.Serializable {
      /**
       * Constructor for subclasses to call.
       */
      public Number() {super();}
< prev index next >