Java9Recipes3rdEditionBook2018year.pdf 英文原版

所需积分/C币:6 2019-08-20 09:41:18 6.24MB .PDF
收藏 收藏

Java 9 Recipes 3rd Edition Book 2018 year
Java 9 Recipes: A Problem-Solution Approach Josh Juneau Hinckley, Illinois, USA ISBN-13(pbk):978-1-4842-1975-1 ISBN-13( electronic):978-1-4842-1976-8 DOI10.1007/978-1-4842-1976-8 Library of congress Control Number: 2017943502 Copyright o 2017 by Josh Juneau This work is subject to copyright All rights are reserved by the Publisher, whether the whole or part of the material is concerned, specifically the rights of translation, reprinting, reuse of illustrations, recitation, broadcasting, reproduction on microfilms or in any other physical way, and transmission or information storage and retrieval, electronic adaptation, computer software, or by similar or dissimilar methodology now known or hereafter developed Trademarked names, logos, and images may appear in this book. Rather than use a trademark symbol with every occurrence of a trademarked name, logo, or image we use the names, logos, and images only in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark The use in this publication of trade names, trademarks, service marks, and similar terms, even if they are not identified as such is not to be taken as an expression of opinion as to whether or not they are subject to proprietary rights While the advice and information in this book are believed to be true and accurate at the date of publication neither the authors nor the editors nor the publisher can accept any legal responsibility for any errors or omissions that may be made. The publisher makes no warranty, express or implied, with respect to the material contained herein Managing Director: Welmoed Spahr Editorial Director: Todd green Acquisitions Editor: Jonathan Gennick Development Editor Laura berenson Technical Reviewer: Vinay Kumar Coordinating Editor: Jill Balzano Copy Editor: Brendan Frost Compositor: SPi Global Indexer: SPi global Artist: SPi global Distributed to the book trade worldwide by Springer Science+Business Media New York 233 Spring Street, 6th Floor, New York, NY 10013. Phone 1-800-SPRINGER, fax(201)348-4505, e-mail,orvisitwww.springeronline.comApressMedia,LlcisacAliforniaLlc and the sole member (owner ) is Springer Science Business Media Finance Inc (SSBM Finance Inc) SSBM Finance inc is a delaware corporation Forinformationontranslationspleasee-mailrights@apress.comorvisit rights-permissions Apress titles may be purchased in bulk for academic, corporate, or promotional use eBook versions and licenses are also available for most titles. For more information reference our print and ebook bulk sales webpageat Any source code or other supplementary material referenced by the author in this book is available to detailedinformationpleasevisit Printed on acid-free paper This book is dedicated to my wife and children Contents at a glance About the author… About the technical reviewer mmmmxly Acknowledgments xlvii Introduction mmmxlix Chapter1: Getting Started with Java9,,…,…,…,,,1 Chapter 2: Java 9 Enhancements 35 Chapter 3: Strings mmmammmmamnammmmammanammmmam 47 Chapter 4: Numbers and dates. B R BRIRI BRRRIBIIBRERIRI aI 65 Chapter 5: object-Oriented Java mmmaamammmmmm. 99 Chapter 6: Lambda Expressions mmammmmmmaamammmmammmmmaamam 137 Chapter 7: Data Sources and collections Chapter 8: Input and output 195 Chapter 9: Exceptions and logging,,,,,,…,…,,,,,,,,,…221 Chapter 10: Concurrency mm B MB RR RRaa III 239 Chapter 11: Debugging and Unit Testing a IaO 267 Chapter 12: Unicode, Internationalization, and currency Codes 285 Chapter 13: Working with Databases ga305 Chapter 14: JavaFX Fundamentals ■■■■■凵■■■■■■■■■■■凵■■■■■■■■口■■■■■■■■■■■■■■■■■■■■口■■■■■■■■■■■■■■■■■■ 355 Chapter 15: Graphics with JavaFX mnanannaannnan 429 Chapter 16: Media with JavaFX n471 CONTENTS ATA GLANCE Chapter 17: Java Web Applications with JavaServer Faces.mmmnmmman 499 chapter18:NashornandScripting,,,,,,,529 Chapter 19: E-maill 553 Chapter 20: JsoN and XMl Processing ammaar 563 Chapter21:NeW0 rking,,,,,,,,,,,,,…,,,,,,585 Chapter 22: Java Modularity ■口■■■■■■口■ ■■■■■口■■■■ ■■■■■口■■■■■■■■■■■■■■■■■■■■口■■■■■■■■■■■■■■■■■■■■ 605 Index ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 615 Contents About the author… About the technical reviewer mmmmxly Acknowledgments xlvii Introduction mmmxlix Chapter1: Getting Started with Java9,,…,…,…,,,1 1-1. Creating a development environment Problem So|utin,,,… How It Works 2 1-2. Getting to "Hello, World Prob|em… 3 Solution.………3 How It Works 日面日日面日画面日日自面日面日日面B面日面日日面日日面日日日面日日面日面日日面日面面日面面日面日面面日面面日面日日面面日面日日面面日面面日面日面面日面面目面日面面日面面日面日面面日面面目面日 1-3. Configuring the CLASSPATH 9 Problem Solutio How it Work 1-4. Organizing Code with Packages Problem Solution How It Works 12 1-5. Declaring variables and Access Modifiers 14 Problem So| ution.… 14 HoW| t Works… 16 CONTENTS 1-6. Compiling and executing from the command-line or terminal Interpreter 17 Prob|em…17 Solution 17 How It works 18 1-7. Developing Within the Interactive shell 19 Problem mmmmm 19 Solution 20 How It works 22 1-8. Converting to and from a String …24 Prob|em… 24 Solution ■B日日日日日日日日日日日日日日日日日日日日日日正 24 How It works 24 1-9. Passing Arguments via Command-Line Execution Prob|em∴ 52 Solution How It works 1-10. Executing a Script via the sHell 27 Problem 27 Solution.…27 How It works 27 1-11. Accepting Input from the Keyboard Problem 88 Solution 28 How It works 29 2. Documenting your code 30 Problem………30 HoW| t Works…11 CONTENTS 1-13. Reading Environment Variables 33 Problem Solution How It works Summary …34 Chapter 2: Java 9 Enhancements 2-1. Avoiding Redundancy in Interface Code ……35 Problem Solution 556 How It works 2-2. Creating Modules for Simplifying and code reuse . Problem So|utin,,,… 633 How It Works 2-3. Easily Retrieving Information on OS Processes 38 Problem Solution 830 HowItworks.wwwwwwwwwwwwwwwwwww.40 2-4. Handling Errors with Ease DDDDDDDDBDBDDDDDDDDBDDDBDBDDDDDDDDBDDDDBD Problem 日面日日面B日面日面日日面日日面日日面日面日日面日面日自面日面日日面B日面日面日日面日日面日面日日面面日面面日日面面日面面目面日面面日面面日面日面日面面日面面日日面面日面日日面面日面面日面面 40 So|utn,,,… How it Works 41 2-5. Filtering data before and after a condition with streams 42 Prob|em…42 Solution 42 HoW| t Works…42 2-6. Developing a Concise Http Client Problem So| ution,…… 43 How It works CONteNtS 2-7 Redirecting platform Logs Problem Solution 44 How It works 45 2-8. UtliZing Factory Methods to Create Immutable collections 45 Problem 44 Solution 546 How It works.mmmm 46 Summary….,,… Chapter3: Strings,,,,,,,,,,,,,,,,,,,,47 Compact Strings: Java 9 String Enhancements 47 3-1. Obtaining a Subsection of a String . Prob|em…… 47 Solution 47 ow It Works… 3-2. Comparing Strings 48 Problen… 48 Solution How It works, mmmm 50 3-3. Trimming Whitespace 51 Problem 51 Solution 51 ………52 3-4. Changing the Case of a String 52 Prob|em…52 So|utin,,,… 52 How It works 52 3-5. Concatenating Strings 53 Problem 53 Solution 1 53

试读 127P Java9Recipes3rdEditionBook2018year.pdf 英文原版
立即下载 低至0.43元/次 身份认证VIP会员低至7折
weixin_38743602 如果觉得有用,不妨留言支持一下
  • 至尊王者

关注 私信 TA的资源
Java9Recipes3rdEditionBook2018year.pdf 英文原版 6积分/C币 立即下载
Java9Recipes3rdEditionBook2018year.pdf 英文原版第1页
Java9Recipes3rdEditionBook2018year.pdf 英文原版第2页
Java9Recipes3rdEditionBook2018year.pdf 英文原版第3页
Java9Recipes3rdEditionBook2018year.pdf 英文原版第4页
Java9Recipes3rdEditionBook2018year.pdf 英文原版第5页
Java9Recipes3rdEditionBook2018year.pdf 英文原版第6页
Java9Recipes3rdEditionBook2018year.pdf 英文原版第7页
Java9Recipes3rdEditionBook2018year.pdf 英文原版第8页
Java9Recipes3rdEditionBook2018year.pdf 英文原版第9页
Java9Recipes3rdEditionBook2018year.pdf 英文原版第10页
Java9Recipes3rdEditionBook2018year.pdf 英文原版第11页
Java9Recipes3rdEditionBook2018year.pdf 英文原版第12页
Java9Recipes3rdEditionBook2018year.pdf 英文原版第13页
Java9Recipes3rdEditionBook2018year.pdf 英文原版第14页
Java9Recipes3rdEditionBook2018year.pdf 英文原版第15页
Java9Recipes3rdEditionBook2018year.pdf 英文原版第16页
Java9Recipes3rdEditionBook2018year.pdf 英文原版第17页
Java9Recipes3rdEditionBook2018year.pdf 英文原版第18页
Java9Recipes3rdEditionBook2018year.pdf 英文原版第19页
Java9Recipes3rdEditionBook2018year.pdf 英文原版第20页

试读结束, 可继续阅读

6积分/C币 立即下载 >