This is the second of three volumes of the Harnessing JavaTM 7 book.
It provides a comprehensive approach to learning the Java programming language to all levels of Java developers.
It covers the essential topics of the Java programming language such as Inner Classes, Threads, I/O, Collections, etc.
Each topic in the book starts with the topic's background discussion.
A step-by-step process with small snippets of Java code provides easy to follow instructions.
At the end of a topic, a complete and ready-to-run Java program is provided.
This volume contains 50 diagrams to help programmers visualize and better understand the topics.
More than 290 complete programs included in this volume help the readers practice and learn the topics faster.
The chapter on Threads discusses everything from the very basic concepts of a thread to the most advanced topics such as synchronizers, executor framework, fork/join framework, atomic variables, etc.
This volume contains an unmatched coverage of Java I/O.
It devotes four chapters on the topic of Java I/O.
NIO 2.0, which is a Java 7 feature, has been covered in detail in a separate chapter.
Besides other topics of NIO 2.0, the Path API, the FileVisitor API, the watch service and asynchronous file I/O of NIO 2.0 have in-depth coverage.
It contains at least one complete Java program on every NIO 2.0 topic discussed in this volume.
The following topics are covered in this volume.
- Inner Classes
- Archive Files
- NIO 2.0
It covers the following new features of JavaTM 7 in detail.
- Generic Type Inference
- Heap Pollution
- Improved Compiler Warnings & Errors for Non-Reifiable Varargs Parameters
- Improved File and Channel Closing Mechanism Using a try-with-resources Statement
- New Input/Output 2.0 (NIO 2.0)
- Fork/Join Framework
- Phaser Synchronizer
- TransferQueue Collection
|Product dimensions:||8.50(w) x 11.00(h) x 1.26(d)|
About the Author