< prev index next >

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

Print this page




 544     }
 545 
 546 
 547     /**
 548      * The number of bits used to represent a {@code byte} value in two's
 549      * complement binary form.
 550      *
 551      * @since 1.5
 552      */
 553     public static final int SIZE = 8;
 554 
 555     /**
 556      * The number of bytes used to represent a {@code byte} value in two's
 557      * complement binary form.
 558      *
 559      * @since 1.8
 560      */
 561     public static final int BYTES = SIZE / Byte.SIZE;
 562 
 563     /** use serialVersionUID from JDK 1.1. for interoperability */

 564     private static final long serialVersionUID = -7183698231559129828L;
 565 }


 544     }
 545 
 546 
 547     /**
 548      * The number of bits used to represent a {@code byte} value in two's
 549      * complement binary form.
 550      *
 551      * @since 1.5
 552      */
 553     public static final int SIZE = 8;
 554 
 555     /**
 556      * The number of bytes used to represent a {@code byte} value in two's
 557      * complement binary form.
 558      *
 559      * @since 1.8
 560      */
 561     public static final int BYTES = SIZE / Byte.SIZE;
 562 
 563     /** use serialVersionUID from JDK 1.1. for interoperability */
 564     @java.io.Serial
 565     private static final long serialVersionUID = -7183698231559129828L;
 566 }
< prev index next >