Java in a Nutshell (6th Edition) - B.J. Evans, D. Flanagan.pdf

(6407 KB) Pobierz
Java
Java
in a Nutshell
A DESKTOP QUICK REFERENCE
Benjamin J. Evans & David Flanagan
6t
h
Ed
iti
on
8
va
Ja
Co
ve
rs
Java in a Nutshell
The latest edition of
Java in a Nutshell
is designed to
help experienced Java programmers get the most out
of Java 7 and 8, but it’s also a learning path for new
developers. Chock full of examples that demonstrate
how to take complete advantage of modern Java APIs
and development best practices, the first section of
this thoroughly updated book provides a fast-paced,
no-fluff introduction to the Java programming language
and the core runtime aspects of the Java platform.
The second section is a reference to core concepts
and APIs that shows you how to perform real
programming work in the Java environment.
In a world of blogged
opinions and javadoc’d
references, this latest
edition is still the
simplest and most
definitive way to cut
through to the answers
you need.
Get up to speed on language details,
including Java 8 changes
Learn object-oriented programming, using
basic Java syntax
Explore generics, enumerations,
annotations, and lambda expressions
Understand basic techniques used in
object-oriented design
Examine concurrency and memory, and
how they’re intertwined
Work with Java collections and handle
common data formats
Delve into Java’s latest I/O APIs, including
asynchronous channels
Use Nashorn to execute JavaScript on the
Java Virtual Machine
Become familiar with development tools in
OpenJDK
consultant, author, speaker,
editor of
97 Things Every
Programmer Should Know
—Kevlin Henney
Benjamin J. Evans
is the
cofounder and Technology
Fellow of jClarity, a startup that
delivers performance tools to help
development & ops teams. He is a
Java Champion; JavaOne Rockstar;
coauthor of
The Well-Grounded
Java Developer
(Manning); and
a regular public speaker on the
Java platform, performance,
concurrency, and related topics.
David Flanagan,
senior staff
frontend software engineer at
Mozilla, has written several books
for O’Reilly, including
JavaScript:
The Definitive Guide, jQuery Pocket
Reference, The Ruby Programming
Language,
and previous editions of
Java in a Nutshell.
PROGR AMMING/JAVA
Twitter: @oreillymedia
facebook.com/oreilly
CAN $62.99
US $59.99
ISBN: 978-1-449-37082-4
JAVA
IN A NUTSHELL
Sixth Edition
Benjamin J. Evans and David Flanagan
Java in a Nutshell
by Benjamin J. Evans and David Flanagan
Copyright © 2015 Benjamin J. Evans and David Flanagan. All rights reserved.
Printed in the United States of America.
Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472.
O’Reilly books may be purchased for educational, business, or sales promotional use. Online
editions are also available for most titles (http://www.safaribooksonline.com). For more infor‐
mation, contact our corporate/institutional sales department: 800-998-9938 or
corpo‐
rate@oreilly.com.
Meghan Blanchette
Production Editor:
Matthew Hacker
Copyeditor:
Charles Roumeliotis
Proofreader:
Jasmine Kwityn
February 1996: First Edition
May 1997: Second Edition
November 1999: Third Edition
Editors:
Mike Loukides and
Indexer:
Ellen Troutman Zaig
Interior Designer:
David Futato
Cover Designer:
Ellie Volckhausen
Illustrator:
Rebecca Demarest
March 2002: Fourth Edition
March 2005: Fifth Edition
October 2014: Sixth Edition
Revision History for the Sixth Edition
2014-10-10:
First Release
See
http://oreilly.com/catalog/errata.csp?isbn=9781449370824
for release details.
Nutshell Handbook, the Nutshell Handbook logo, and the O’Reilly logo are registered trade‐
marks of O’Reilly Media, Inc.
Java in a Nutshell,
the cover image of a Javan tiger, and related
trade dress are trademarks of O’Reilly Media, Inc.
Many of the designations used by manufacturers and sellers to distinguish their products are
claimed as trademarks. Where those designations appear in this book, and O’Reilly Media,
Inc., was aware of a trademark claim, the designations have been printed in caps or initial
caps.
While the publisher and the authors have used good faith efforts to ensure that the informa‐
tion and instructions contained in this work are accurate, the publisher and the authors dis‐
claim all responsibility for errors or omissions, including without limitation responsibility for
damages resulting from the use of or reliance on this work. Use of the information and
instructions contained in this work is at your own risk. If any code samples or other technol‐
ogy this work contains or describes is subject to open source licenses or the intellectual prop‐
erty rights of others, it is your responsibility to ensure that your use thereof complies with
such licenses and/or rights.
978-1-449-37082-4
[LSI]
This book is dedicated to all who teach peace and resist violence.
Zgłoś jeśli naruszono regulamin