- Java Precisely
- About the author
- Peter Sestoft
- Ratings & Reviews
- Friends & Following
- Community Reviews
- Java precisely
- Java Precisely by Peter Sestoft
- Similar books
- Interesting pages
- More sites like this
- Java precisely peter sestoft
- For Instructors
- Request Resources
- Please Log In or Register to Continue
- Java Precisely, Third Edition
- Instructor Requests
- Please Log In or Register to Continue
- Peter Sestoft
Java Precisely
This concise guide to the Java programming language, version 5.0, offers a quick reference for the reader who wants to know the language in greater detail than that provided by the standard text or language reference book. It presents the entire Java programming language and essential parts of the class libraries — the collection classes and the input-output classes.The second edition adds material on autoboxing of primitive types, string formatting, variable-arity methods, the enhanced for statement, enum types, generic types and methods, reflection, and meta-data annotations. It has been updated throughout to reflect the changes from Java 1.4 to Java 5.0. The final section summarizes and illustrates the new features of Java 5.0 and compares them to the C# programming language. General rules are shown on left-hand pages and corresponding examples on right-hand pages. All examples are fragments of legal Java programs and the complete ready-to-run example programs can be found at the book’s Web site, http: //www.dina.kvl.dk/ sestoft/javaprecisely/.
First published June 14, 2002
About the author
Peter Sestoft
Ratings & Reviews
Friends & Following
Community Reviews
After paying little attention to Java for about 10 years, I twigged that it might be prudent to catch up on what’s been going on in this language.
The ideal audience for this book is a programmer with experience in at least two languages—preferably one of them C-like, one of them designed with object-orientation in mind, and if those are both the same language (e.g., C++, Objective-C, or C#), then the second language should be just about anything else, so that one’s mind is accustomed to thinking about programming problems abstractly, and not in the concrete syntax of a particular language.
I am such a member of its audience, and since I desired to know quickly what’s been going on in Java lately (i.e., the large additions to the language in Java «5.0», formerly known as 1.5), Sestoft’s approach was nearly perfect.
Brief books on modern programming languages fill a crucial niche in the literature; witness the fact that the bibles for each of C++ (Stroustrup), C# 3.0 (Hejlsberg, Torgersen, Wiltamuth, Golde), and Java (Arnold, Gosling, Holmes) each weigh in at a thousand pages to a first approximation.
Sestoft’s approach, from which he deviates on a few occasions when the material or space considerations seem to demand it, is to present language features on the left-hand pages and corresponding examples on the right. This technique mostly seems to work. To make the most of the small page budget I presume he set for himself, much material is re-used. That is, to understand the classes in example 96, you will have to refer back to their definitions in example 27. There are some forward references between examples, but most are backward, thankfully.
However, I cannot give this title a higher rating because despite its brevity, it drags a bit in a way that, say, David Beazley’s Python Essential Reference (the chapters before the API reference) does not.
Some of this may be due to the nature of the material. If one is reading cover to cover, Java Precisely is about 142 pages, of which a little over thirty are on generics and the standard Collections. On the other hand, this may be my own failing as, being a systems-level guy in Unix land for most of my professional career, I’ve never had to deal with generics much before. Back on the gripping hand, anyone with exposure to a bit of data structures and algorithms material (linked lists, binary trees, etc.) and modern scripting language features like associative arrays (AWK, Perl, Bash 4.0) or dictionaries (Python) is not going to flabbergasted by what’s here. (Update: Perhaps I should have been flabbergasted—see Terran’s comment on this review.) Java’s generics are, syntactically, closely modeled on C++’s, which may not have been the best decision. (Having come to C++ from C, I find just about every single one of the former’s syntactical innovations to have been a bad one. Objective-C seems cleaner.)
Anyway, this is a review of Peter Sestoft’s Java book, not Java itself. Nevertheless, the burden is on the author to make the material compelling, and in that endeavor I feel he succeeded most, but not all, of the time.
Java precisely
Publication date 2005 Topics Java (Computer program language) Publisher Cambridge, Mass. : MIT Press Collection inlibrary; printdisabled; internetarchivebooks Digitizing sponsor Kahle/Austin Foundation Contributor Internet Archive Language English
Includes bibliographical references (p. 142) and index
Access-restricted-item true Addeddate 2021-10-15 13:07:53 Bookplateleaf 0004 Boxid IA40259901 Camera Sony Alpha-A6300 (Control) Collection_set printdisabled External-identifier urn:oclc:record:1285652644
urn:lcp:javaprecisely0000sest_j0k4:lcpdf:f15180c9-28ac-4a2a-88d3-0a41cc5a58f3
urn:lcp:javaprecisely0000sest_j0k4:epub:7961a7a3-c85e-4c15-abef-c9329f9a2f04 Foldoutcount 0 Identifier javaprecisely0000sest_j0k4 Identifier-ark ark:/13960/t0vr5jw28 Invoice 1652 Isbn 0262693259 Lccn 2005043349 Ocr tesseract 5.0.0-beta-20210815 Ocr_detected_lang en Ocr_detected_lang_conf 1.0000 Ocr_detected_script Latin Ocr_detected_script_conf 0.9759 Ocr_module_version 0.0.13 Ocr_parameters -l eng Old_pallet IA-WL-0000337 Openlibrary_edition OL3422033M Openlibrary_work OL5844915W Page_number_confidence 90.70 Pages 174 Partner Innodata Pdf_module_version 0.0.15 Ppi 360 Rcs_key 24143 Republisher_date 20211015193022 Republisher_operator associate-mayel-franco@archive.org Republisher_time 583 Scandate 20211012092634 Scanner station04.cebu.archive.org Scanningcenter cebu Scribe3_search_catalog isbn Scribe3_search_id 9780262693257 Tts_version 4.5-initial-62-g5e6e8103
Java Precisely by Peter Sestoft
Description:
This document gives a concise description of the Java programming language, version 1.1 and later. It is a quick reference for the reader who has already learned (or is learning) Java from a standard textbook and who wants to know the language in more detail. The document presents general rules, and corresponding examples. All examples are fragments of legal Java programs.
Download or read it online for free here:
Download link
(PDF/PS)
Similar books
Java Persistence
by James Sutherland, Doug Clarke — Wikibooks
Java persistence could be defined as storing anything to any level of persistence using the Java programming language. This book is focused on storing Java objects to relational databases, in particular using the Java Persistence API (JPA).
(17417 views)
Object Oriented Programming using Java
by Simon Kendal — BookBoon
This book will explain the Object Oriented approach to programming and through the use of small exercises develop some practical skills. At the end of the book one larger case study will be used to illustrate the application of the techniques.
(17998 views)
Securing Java: Getting Down to Business with Mobile Code
by Gary McGraw, Edward W. Felten — Wiley
Securing Java is the book on mobile code and security, it includes many things the authors discovered while working on real-world systems with businesses and government agencies. The book should appeal to experts and beginners alike.
(16996 views)
Introduction to Web Services with Java
by Kiet T. Tran — Bookboon
This book focuses more on the details of a hands-on approach to Web Service programming than its specifications. In order to help readers grasp the concept, we provide a brief introduction to Web Service, SOAP, and WSDL in the first three chapters.
(8983 views)
Interesting pages
More sites like this
Java precisely peter sestoft
We will be undergoing system maintenance on Monday, July 31st from 3 a.m. CST to 5 a.m. CST. Please plan accordingly.
For Instructors
Request Resources
Please Log In or Register to Continue
To better serve you, please log in to your instructor account. If you are a new instructor to The MIT Press | eTextbooks, please use the button below to register.
Java Precisely, Third Edition
ISBN: 9780262364201 | Copyright 2016
Instructor Requests
Please Log In or Register to Continue
To better serve you, please log in to your instructor account. If you are a new instructor to The MIT Press | eTextbooks, please use the button below to register.
This concise guide to the Java programming language, version 5.0, offers a quick reference for the reader who wants to know the language in greater detail than that provided by the standard text or language reference book. It presents the entire Java programming language and essential parts of the class libraries—the collection classes and the input-output classes.
The second edition adds material on autoboxing of primitive types, string formatting, variable-arity methods, the enhanced for statement, enum types, generic types and methods, reflection, and meta-data annotations. It has been updated throughout to reflect the changes from Java 1.4 to Java 5.0. The final section summarizes and illustrates the new features of Java 5.0 and compares them to the C# programming language. General rules are shown on left-hand pages and corresponding examples on right-hand pages. All examples are fragments of legal Java programs and the complete ready-to-run example programs can be found at the book’s Web site,http://www.dina.kvl.dk/~sestoft/javaprecisely.
The triple espresso of Java books. Rich and dense with information.
Richard Pattis, Department of Computer Science, Carnegie Mellon University
This no-nonsense book gives fast access to the essentials of each Java construct. It is a great reference for the Java student.
Alan W. Biermann Professor and Chair, Department of Computer Science, Duke University
Expand/Collapse All | |
---|---|
Contents (pg. v) | |
Preface (pg. xi) | |
Notational Conventions (pg. xii) | |
1 Running Java: Compilation, Loading, and Execution (pg. 2) | |
2 Names and Reserved Names (pg. 2) | |
3 Java Naming Conventions (pg. 2) | |
4 Comments and Program Layout (pg. 2) | |
5 Types (pg. 4) | |
6 Variables, Parameters, Fields, and Scope (pg. 8) | |
7 Strings (pg. 10) | |
8 Arrays (pg. 16) | |
9 Classes (pg. 22) | |
10 Classes and Objects in the Computer (pg. 34) | |
11 Expressions (pg. 36) | |
12 Statements (pg. 52) | |
13 Interfaces (pg. 66) | |
14 Enum Types (pg. 70) | |
15 Exceptions, Checked and Unchecked (pg. 72) | |
16 Compilation, Source Files, Class Names, and Class Files (pg. 74) | |
17 Packages and Jar Files (pg. 74) | |
18 Mathematical Functions (pg. 76) | |
19 String Builders and String Buffers (pg. 78) | |
20 Threads, Concurrent Execution, and Synchronization (pg. 80) | |
21 Generic Types and Methods (pg. 88) | |
22 Generic Collections and Maps (pg. 102) | |
23 Functional Interfaces (Java 8.0) (pg. 122) | |
24 Streams for Bulk Data (Java 8.0) (pg. 132) | |
25 Class Optional (Java 8.0) (pg. 146) | |
26 Input and Output (pg. 148) | |
27 Reflection (pg. 172) | |
28 Metadata Annotations (pg. 176) | |
29 What Is New in Java 8.0 (pg. 178) | |
References (pg. 180) | |
Index (pg. 181) | |
Contents (pg. v) | |
Preface (pg. xi) | |
Notational Conventions (pg. xii) | |
1 Running Java: Compilation, Loading, and Execution (pg. 2) | |
2 Names and Reserved Names (pg. 2) | |
3 Java Naming Conventions (pg. 2) | |
4 Comments and Program Layout (pg. 2) | |
5 Types (pg. 4) | |
6 Variables, Parameters, Fields, and Scope (pg. 8) | |
7 Strings (pg. 10) | |
8 Arrays (pg. 16) | |
9 Classes (pg. 22) | |
10 Classes and Objects in the Computer (pg. 34) | |
11 Expressions (pg. 36) | |
12 Statements (pg. 52) | |
13 Interfaces (pg. 66) | |
14 Enum Types (pg. 70) | |
15 Exceptions, Checked and Unchecked (pg. 72) | |
16 Compilation, Source Files, Class Names, and Class Files (pg. 74) | |
17 Packages and Jar Files (pg. 74) | |
18 Mathematical Functions (pg. 76) | |
19 String Builders and String Buffers (pg. 78) | |
20 Threads, Concurrent Execution, and Synchronization (pg. 80) | |
21 Generic Types and Methods (pg. 88) | |
22 Generic Collections and Maps (pg. 102) | |
23 Functional Interfaces (Java 8.0) (pg. 122) | |
24 Streams for Bulk Data (Java 8.0) (pg. 132) | |
25 Class Optional (Java 8.0) (pg. 146) | |
26 Input and Output (pg. 148) | |
27 Reflection (pg. 172) | |
28 Metadata Annotations (pg. 176) | |
29 What Is New in Java 8.0 (pg. 178) | |
References (pg. 180) | |
Index (pg. 181) |
Peter Sestoft
Peter Sestoft is Professor of Computer Science and Head of the Software and Systems Section at the IT University of Copenhagen.