Primitive Wrapper Class: Primitive Type, Java Platform, Standard Edition, Object Type, Atomic Operation - Couverture souple

 
9786133383531: Primitive Wrapper Class: Primitive Type, Java Platform, Standard Edition, Object Type, Atomic Operation

Synopsis

Please note that the content of this book primarily consists of articles available from Wikipedia or other free sources online. A primitive wrapper class in the Java programming language is one of eight classes provided in the java.lang package to provide object methods for the eight primitive types. All of the primitive wrapper classes in Java are immutable. J2SE 5.0 introduced autoboxing of primitive types into their wrapper object, and automatic unboxing of the wrapper objects into their primitive value-the implicit conversion between the wrapper objects and primitive values. Wrapper classes are used to represent primitive values when an Object is required. The wrapper classes are used extensively with Collection classes in the java.util package and with the classes in the java.lang.reflect reflection package. The Byte, Short, Integer, Long, Float, and Double wrapper classes are all subclasses of the Number class.

Les informations fournies dans la section « Synopsis » peuvent faire référence à une autre édition de ce titre.