Cargando…

Begining Java 8 language features : Lambda Expressions, inner classes, threads, I/O, collections, and streams /

Beginning Java 8 Language Features covers essential and advanced features of the Java programming language such as the new lambda expressions (closures), inner classes, threads, I/O, Collections, garbage collection, streams, and more. Author Kishori Sharan provides over 60 diagrams and 290 complete...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Sharan, Kishori
Formato: Electrónico eBook
Idioma:Inglés
Publicado: [New York] : Apress : Distributed to the Book trade worldwide by Springer Science+Business Media New York, Ã2014.
Edición:The expert's voice in Java.
Colección:Expert's voice in Java.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)
Tabla de Contenidos:
  • At a Glance; Introduction; Chapter 1: Annotations; What Are Annotations?; Declaring an Annotation Type; Restrictions on Annotation Types; Restriction #1; Restriction #2; Restriction #3; Restriction #4; Restriction #5; Restriction #6; Default Value of an Annotation Element; Annotation Type and Its Instances; Using Annotations; Primitive Types; String Types; Class Types; Enum Type; Annotation Type; Array Type Annotation Element; No Null Value in an Annotation; Shorthand Annotation Syntax; Marker Annotation Types; Meta-Annotation Types; The Target Annotation Type
  • The Retention AnnotationThe Inherited Annotation Type; The Documented Annotation; The Repeatable Annotation; The Native Annotation; Commonly Used Standard Annotations; The Deprecated Annotation Type; The Override Annotation Type; The SuppressWarnings Annotation Type; The FunctionalInterface Annotation Type; Annotating a Java Package; Accessing Annotations at Runtime; Evolving Annotation Types; Annotation Processing at Source Code Level; Summary; Chapter 2: Inner Classes; What Is an Inner Class?; Advantages of Using Inner Classes; Types of Inner Classes; Member Inner Class; Local Inner Class
  • Anonymous Inner ClassA static Member Class Is Not an Inner Class; Creating Objects of Inner Classes; Accessing Enclosing Class Members; Restrictions on Accessing Local Variables; Inner Class and Inheritance; No static Members in an Inner Class; Generated Class Files for Inner Classes; Inner Classes and the Compiler Magic; Closures and Callbacks; Defining Inner Classes in Static Contexts; Summary; Chapter 3: Reflection; What Is Reflection?; Reflection in Java; The java.lang. Class Class; Reflecting on a Class; Reflecting on Fields; Reflecting on an Executable; Reflecting on Methods
  • Reflecting on ConstructorsCreating Objects; Invoking Methods; Accessing Fields; Bypassing Accessibility Check; Reflecting on Arrays; Expanding an Array; Who Should Use Reflection?; Summary; Chapter 4: Generics; What Are Generics?; Supertype-Subtype Relationship; Raw Type; Unbounded Wildcards; Upper-Bounded Wildcards; Lower-Bounded Wildcards; Generic Methods and Constructors; Type Inference in Generic Object Creation; No Generic Exception Classes; No Generic Anonymous Classes; Generics and Arrays; Runtime Class Type of Generic Objects; Heap Pollution
  • Varargs Methods and Heap Pollution WarningsSummary; Chapter 5: Lambda Expressions; What Is a Lambda Expression?; Why Do We Need Lambda Expressions?; Syntax for Lambda Expressions; Omitting Parameter Types; Declaring a Single Parameter; Declaring No Parameters; Parameters with Modifiers; Declaring Body of Lambda Expressions; Target Typing; Functional Interfaces; Using the @FunctionalInterface Annotation; Generic Functional Interface; Intersection Type and Lambda Expressions; Commonly Used Functional Interfaces; Using the Function Interface; Using the Predicate Interface