jdk/src/share/classes/java/lang/Double.java
changeset 14507 066419d1e732
parent 14503 0729d9e57ed5
child 15311 be0ff4a719bf
--- a/jdk/src/share/classes/java/lang/Double.java	Wed Nov 14 07:08:50 2012 -0800
+++ b/jdk/src/share/classes/java/lang/Double.java	Tue Nov 13 20:02:39 2012 -0800
@@ -123,6 +123,13 @@
     public static final int SIZE = 64;
 
     /**
+     * The number of bytes used to represent a {@code double} value.
+     *
+     * @since 1.8
+     */
+    public static final int BYTES = SIZE / Byte.SIZE;
+
+    /**
      * The {@code Class} instance representing the primitive type
      * {@code double}.
      *