Library Hours
Monday to Friday: 9 a.m. to 9 p.m.
Saturday: 9 a.m. to 5 p.m.
Sunday: 1 p.m. to 9 p.m.
Naper Blvd. 1 p.m. to 5 p.m.
     
Limit search to available items
85 results found. Sorted by relevance | date | title .
Results Page:  Previous Next
Author Sharan, Kishori (Software engineer), author.

Title Java language features : with modules, streams, threads, I/O, and lambda expressions / Kishori Sharan. [O'Reilly electronic resource]

Edition Second edition.
Publication Info. New York, NY : Apress, [2018]
©2018
QR Code
Description 1 online resource
text file
PDF
Note Includes index.
Contents Intro; Contents; About the Author; About the Technical Reviewers; Acknowledgments; 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 TypesThe Target Annotation Type; The Retention Annotation Type; The Inherited Annotation Type; The Documented Annotation Type; The Repeatable Annotation Type; Commonly Used Standard Annotations; Deprecating APIs; How to Deprecate an API; Enhancements to the Deprecated Annotation in JDK9; Suppressing Deprecation Warnings; An Example; static Analysis of Deprecated APIs; Dynamic Analysis of Deprecated APIs; No Deprecation Warnings on Imports; Suppressing Named Compile-Time Warnings; Overriding Methods; Declaring Functional Interfaces; Annotating Packages; Annotating Modules.
Accessing Annotations at RuntimeEvolving 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 Class; A 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 CallbacksDefining Inner Classes in static Contexts; Summary; Chapter 3: Reflection; What Is Reflection?; Reflection in Java; Loading a Class; Using Class Literals; Using the Object::getClass() Method; Using the Class::forName() Method; Class Loaders; Class Loaders in JDK8; Class Loaders in JDK9; Reflecting on Classes; Reflecting on Fields; Reflecting on Executables; Reflecting on Methods; Reflecting on Constructors; Creating Objects; Invoking Methods; Accessing Fields; Deep Reflection; Deep Reflection Within a Module; Deep Reflection Across Modules.
Deep Reflection and Unnamed ModulesDeep Reflection on JDK Modules; Reflecting on Arrays; Expanding an Array; Who Should Use Reflection?; Summary; Chapter 4: Generics; What Are Generics?; Supertype-Subtype Relationship; Raw Types; 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 Warnings; Summary; Chapter 5: Lambda Expressions.
Summary Work with essential and advanced features of the Java programming language such as Java modules development, lambda expressions (closures), inner classes, threads, I/O, Collections, garbage collection, and more. Author Kishori Sharan provides over 50 diagrams and 290 complete programs to help you visualize and better understand the topics covered in this book. Java Language Features, Second Edition starts with a series of chapters on the essential language features provided by Java, including annotations, reflection, and generics. These topics are then complemented by details of how to use lambda expressions, allowing you to build powerful and efficient Java programs. The chapter on threads follows this up and discusses everything from the very basic concepts of a thread to the most advanced topics such as synchronizers, the fork/join framework, and atomic variables. This book contains unmatched coverage of Java MIO, the Stream API, the Path API, the FileVisitor API, the watch service, and asynchronous file I/O. With this in-depth knowledge, your data- and file-management programs will be able to take advantage of every feature of Java's powerful I/O framework and much more. You will: Use essential and advanced features of the Java language Code Java annotations and inner classes Work with reflection, generics, and threads Take advantage of the garbage collector Manage streams with the Stream API.
Subject Java (Computer program language)
Java (Langage de programmation)
Java (Computer program language)
Other Form: Printed edition: 9781484233474
ISBN 9781484233481 (electronic bk.)
1484233484 (electronic bk.)
Standard No. 10.1007/978-1-4842-3348-1 doi
10.1007/978-1-4842-3
Report No. SPRINTER
Patron reviews: add a review
Click for more information
EBOOK
No one has rated this material

You can...
Also...
- Find similar reads
- Add a review
- Sign-up for Newsletter
- Suggest a purchase
- Can't find what you want?
More Information