Synopses & Reviews
This bestselling quick reference contains an accelerated introduction to the Java language and its key APIs, so seasoned programmers can start writing Java code right away. The third edition of Java in a Nutshell covers Java 1.2 and Java 1.3 beta and includes:
- A description of the syntax of the Java language, written in a tight, concise style, that can serve as both a fast-paced tutorial and a language reference.
- An explanation of the object-oriented features of Java that does not assume any prior object-oriented programming experience.
- An overview of the essential Java APIs that shows how to perform common tasks, such as string manipulation, input/output, and thread handling, with the classes and interfaces that comprise the Java 2 platform.
- Documentation for the Java development tools shipped with Sun's Java SDK.
This book also includes O'Reilly's classic-style, quick-reference material for all of the classes in the essential Java packages, including
java.lang, java.io, java.beansjava.math, java.net, java.security,java.text, java.util, and
javax.crypto. This reference material covers all of the new classes in Java 1.2 and 1.3. Once you've learned Java, you'll keep this book next to your keyboard for handy reference while you program.This book is part of the two-volume set of quick references that every Java programmer needs. It is an essential companion to
Java Foundation Classes in a Nutshell, which covers the graphics and graphical user interface APIs in the Java 2 platform, including Swing, AWT, and Java 2D. A third volume,
Java Enterprise in a Nutshell, focuses on the Java Enterprise APIs and is of interest to programmers working on server-side or enterprise Java applications.
Synopsis
The third edition of this bestselling book covers Java 2. It contains an advanced introduction to Java and its key APIs and provides its classic quick-reference material on all the classes and interfaces in the following APIs: java.lang, java.io, java.math, java.net, nava.text, java.util, and java.security.
Description
This bestselling book is an essential quick reference for all Java
programmers. It contains an accelerated introduction to the Java
language and its key APIs, so seasoned programmers can start writing
Java code right away. The third edition of Java in a Nutshell
covers Java 1.2 and Java 1.3 beta and includes:
- A description of the syntax of the Java language, written in a
tight, concise style, that can serve as both a fast-paced tutorial and
a language reference.
- An explanation of the object-oriented features of Java that does
not assume any prior object-oriented programming experience.
- An overview of the essential Java APIs that shows how to perform
common tasks, such as string manipulation, input/output, and thread
handling, with the classes and interfaces that comprise the Java 2
platform.
- Documentation for the Java development tools shipped with Sun's
Java SDK.
This book also includes O'Reilly's classic-style, quick-reference
material for all of the classes in the essential Java packages,
including java.lang, java.io, java.beans
java.math, java.net, java.security,
java.text, java.util, and javax.crypto. This
reference material covers all of the new classes in Java 1.2 and 1.3.
Once you've learned Java, you'll keep this book next to your keyboard
for handy reference while you program.
This book is part of the two-volume set of quick references that every
Java programmer needs. It is an essential companion to Java
Foundation Classes in a Nutshell, which covers the graphics and
graphical user interface APIs in the Java 2 platform, including Swing,
AWT, and Java 2D. A third volume, Java Enterprise in a
Nutshell, focuses on the Java Enterprise APIs and is of interest
to programmers working on server-side or enterprise Java applications.
About the Author
David Flanagan is a computer programmer who spends most of his time writing about JavaScript and Java. His books with O'Reilly include Java in a Nutshell, Java Examples in a Nutshell, Java Foundation Classes in a Nutshell, JavaScript: The Definitive Guide, and JavaScript Pocket Reference. David has a degree in c
Table of Contents
Preface; Who Should Read This Book; How to Use This Book; Conventions Used in This Book; Using Code Examples; Safari® Books Online; How to Contact Us; Acknowledgments; Chapter 1: Introduction: Why ClojureScript?; 1.1 The Rise of Browser Applications; 1.2 The Rise of JavaScript; 1.3 The Need for a Better Language; 1.4 Introducing ClojureScript; Chapter 2: Hello World; 2.1 Leiningen; 2.2 Using lein-cljsbuild; Chapter 3: The Compilation Process; 3.1 Architecture; 3.2 How to Compile; 3.3 Compilation in Depth; 3.4 Summary; Chapter 4: ClojureScript Basics; 4.1 ClojureScript versus Clojure; 4.2 Expressions and Side Effects; 4.3 Syntax and Data Structures; 4.4 Special Forms and Definitions; 4.5 Functions; 4.6 Local Bindings; 4.7 Closures; 4.8 Flow Control; 4.9 JavaScript Interop; 4.10 Summary; Chapter 5: Data and State; 5.1 Primitives; 5.2 Data Structures; 5.3 Identity and State; Chapter 6: Sequences; 6.1 The Sequence Abstraction; 6.2 Lazy Sequences; 6.3 The Sequence API; Chapter 7: Namespaces, Libraries, and Google Closure; 7.1 Namespaces; 7.2 Advanced Compilation Mode; 7.3 Consuming Libraries; 7.4 Creating Libraries; Chapter 8: Macros; 8.1 Code as Data; 8.2 Writing Macros; 8.3 Using Macros; 8.4 When to Write Macros; 8.5 Summary; Chapter 9: Development Process and Workflow; 9.1 Installing ClojureScript; 9.2 The Built-In Tools; 9.3 The Browser REPL; 9.4 Additional lein-cljsbuild Features; Chapter 10: Integration with Clojure; 10.1 AJAX; 10.2 The Reader and Printer; 10.3 Example Client-Server Application; 10.4 Extending the Reader; 10.5 Sharing Code; 10.6 Summary; Libraries; ClojureScript's Standard Library; Google Closure Library; Domina; Enfocus; Jayq; C2; core.logic;