Beginning Java 7

Beginning Java 7 guides you through version 7 of the Java language and a wide assortment of platform APIs. New Java 7 language features that are discussed include switch-on-string and try-with-resources. APIs that are discussed include Threading, the Collections Framework, the Concurrency Utilities,...

Descripción completa

Detalles Bibliográficos
Autor principal: Friesen, Geoff (-)
Formato: Libro electrónico
Idioma:Inglés
Publicado: New York, NY : Apress c2011.
Edición:1st ed. 2011.
Colección:Expert's voice in Java.
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009628360006719
Tabla de Contenidos:
  • Title Page; Copyright Page; Contents at a Glance; Table of Contents; About the Author; About the Technical Reviewer; Acknowledgments; Introduction; Chapter 1: Getting Started with Java; What Is Java?; Java Is a Language; Java Is a Platform; Installing and Working with JDK 7; Installing JDK 7; Working with JDK 7; Installing and Working with NetBeans 7; Installing NetBeans 7; Working with NetBeans 7; Java Language Fundamentals; Comments; Identifiers; Types; Variables; Expressions; Statements; Summary; Chapter 2: Discovering Classes and Objects; Declaring Classes and Creating Objects
  • Declaring ClassesCreating Objects with the new Operator and a Constructor; Specifying Constructor Parameters and Local Variables; Creating Arrays with the new Operator; Encapsulating State and Behaviors; Representing State via Fields; Representing Behaviors via Methods; Hiding Information; Initializing Classes and Objects; Inheriting State and Behaviors; Extending Classes; The Ultimate Superclass; Composition; The Trouble with Implementation Inheritance; Changing Form; Upcasting and Late Binding; Abstract Classes and Abstract Methods; Downcasting and Runtime Type Identification
  • Covariant Return TypesFormalizing Class Interfaces; Declaring Interfaces; Implementing Interfaces; Extending Interfaces; Why Use Interfaces?; Collecting Garbage; Summary; Chapter 3: Exploring Advanced Language Features; Nested Types; Static Member Classes; Nonstatic Member Classes; Anonymous Classes; Local Classes; Interfaces Within Classes; Packages; What Are Packages?; The Package Statement; The Import Statement; Searching for Packages and Types; Playing with Packages; Packages and JAR Files; Static Imports; Exceptions; What Are Exceptions?; Representing Exceptions in Source Code
  • Throwing ExceptionsHandling Exceptions; Performing Cleanup; Assertions; Declaring Assertions; Using Assertions; Avoiding Assertions; Enabling and Disabling Assertions; Annotations; Discovering Annotations; Declaring Annotation Types and Annotating Source Code; Processing Annotations; Generics; Collections and the Need for Type Safety; Generic Types; Generic Methods; Arrays and Generics; Varargs and Generics; Enums; The Trouble with Traditional Enumerated Types; The Enum Alternative; The Enum Class; Summary; Chapter 4: Touring Language APls; Math and StrictMath; Package
  • Primitive Type Wrapper ClassBoolean; Character; Float and Double; Integer, Long, Short, and Byte; Reference; Basic Terminology; Reference and ReferenceQueue; SoftReference; WeakReference; PhantomReference; Reflection; String; StringBuffer and StringBuilder; System; Threading; Runnable and Thread; Thread Synchronization; BigDecimal; Biglnteger; Summary; Chapter 5: Collecting Objects; The Collections Framework; Architecture Overview; Iterable and Collection; List; Set; SortedSet; NavigableSet; Queue; Deque; Map; Sorted Map; NavigableMap; Utilities; Legacy Collections APls
  • Creating Your Own Collections