Core Java for the Impatient

Core Java for the Impatient

  • ただいまウェブストアではご注文を受け付けておりません。 ⇒古書を探す
  • 製本 Paperback:紙装版/ペーパーバック版/ページ数 480 p.
  • 言語 ENG
  • 商品コード 9780321996329
  • DDC分類 005.133

Full Description


The release of Java SE 8 introduced significant enhancements that impact the Core Java technologies and APIs at the heart of the Java platform. Many old Java idioms are no longer required and new features like lambda expressions will increase programmer productivity, but navigating these changes can be challenging.Core Java (R) for the Impatient is a complete but concise guide to Java SE 8. Written by Cay Horstmann-the author of Java SE 8 for the Really Impatient and Core Java (TM), the classic, two-volume introduction to the Java language-this indispensable new tutorial offers a faster, easier pathway for learning the language and libraries. Given the size of the language and the scope of the new features introduced in Java SE 8, there's plenty of material to cover, but it's presented in small chunks organized for quick access and easy understanding.If you're an experienced programmer, Horstmann's practical insights and sample code will help you quickly take advantage of lambda expressions (closures), streams, and other Java language and platform improvements. Horstmann covers everything developers need to know about modern Java, including Crisp and effective coverage of lambda expressions, enabling you to express actions with a concise syntax A thorough introduction to the new streams API, which makes working with data far more flexible and efficient A treatment of concurrent programming that encourages you to design your programs in terms of cooperating tasks instead of low-level threads and locks Up-to-date coverage of new libraries like Date and Time Other new features that will be especially valuable for server-side or mobile programmers Whether you are just getting started with modern Java or are an experienced developer, this guide will be invaluable for anyone who wants to write tomorrow's most robust, efficient, and secure Java code.

Contents

Preface xxiAcknowledgments xxiiiAbout the Author xxvChapter 1: Fundamental Programming Structures 11.1 Our First Program 21.2 Primitive Types 71.3 Variables 101.4 Arithmetic Operations 131.5 Strings 201.6 Input and Output 261.7 Control Flow 301.8 Arrays and Array Lists 371.9 Functional Decomposition 46Exercises 49Chapter 2: Object-Oriented Programming 532.1 Working with Objects 542.2 Implementing Classes 582.3 Object Construction 632.4 Static Variables and Methods 682.5 Packages 722.6 Nested Classes 792.7 Documentation Comments 84Exercises 89Chapter 3: Interfaces and Lambda Expressions 933.1 Interfaces 943.2 Static and Default Methods 993.3 Examples of Interfaces 1023.4 Lambda Expressions 1073.5 Method and Constructor References 1103.6 Processing Lambda Expressions 1123.7 Lambda Expressions and Variable Scope 1163.8 Higher-Order Functions 1203.9 Local Inner Classes 122Exercises 124Chapter 4: Inheritance and Reflection 1274.1 Extending a Class 1284.2 Object: The Cosmic Superclass 1374.3 Enumerations 1474.4 Runtime Type Information and Resources 1514.5 Reflection 160Exercises 169Chapter 5: Exceptions, Assertions, and Logging 1735.1 Exception Handling 1745.2 Assertions 1855.3 Logging 187Exercises 194Chapter 6: Generic Programming 1996.1 Generic Classes 2006.2 Generic Methods 2016.3 Type Bounds 2026.4 Type Variance and Wildcards 2036.5 Generics in the Java Virtual Machine 2086.6 Restrictions on Generics 2116.7 Reflection and Generics 218Exercises 221Chapter 7: Collections 2277.1 An Overview of the Collections Framework 2287.2 Iterators 2327.3 Sets 2337.4 Maps 2357.5 Other Collections 2387.6 Views 244Chapter 8: Streams 2498.1 From Iterating to Stream Operations 2508.2 Stream Creation 2518.3 The filter, map, and flatMap Methods 2528.4 Extracting Substreams and Combining Streams 2548.5 Other Stream Transformations 2548.6 Simple Reductions 2558.7 The Optional Type 2568.8 Collecting Results 2598.9 Collecting into Maps 2608.10 Grouping and Partitioning 2628.11 Downstream Collectors 2628.12 Reduction Operations 2648.13 Primitive Type Streams 2668.14 Parallel Streams 267Exercises 269Chapter 9: Processing Input and Output 2739.1 Input/Output Streams, Readers, and Writers 2749.2 Paths, Files, and Directories 2849.3 URL Connections 2929.4 Regular Expressions 2939.5 Serialization 301Exercises 307Chapter 10: Concurrent Programming 31110.1 Concurrent Tasks 31210.2 Thread Safety 31710.3 Parallel Algorithms 32310.4 Threadsafe Data Structures 32410.5 Atomic Values 32910.6 Locks 33110.7 Threads 33710.8 Asynchronous Computations 34110.9 Processes 345Exercises 348Chapter 11: Annotations 35511.1 Using Annotations 35611.2 Defining Annotations 36111.3 Standard Annotations 36411.4 Processing Annotations at Runtime 36811.5 Source-Level Annotation Processing 371Exercises 376Chapter 12: The Date and Time API 37912.1 The Time Line 38012.2 Local Dates 38212.3 Date Adjusters 38512.4 Local Time 38612.5 Zoned Time 38712.6 Formatting and Parsing 39012.7 Interoperating with Legacy Code 393Exercises 394Chapter 13: Internationalization 39713.1 Locales 39813.2 Number Formats 40313.3 Currencies 40313.4 Date and Time Formatting 40413.5 Collation and Normalization 40613.6 Message Formatting 40813.7 Resource Bundles 41013.8 Character Encodings 41313.9 Preferences 413Exercises 415Chapter 14: Compiling and Scripting 41914.1 The Compiler API 42014.2 The Scripting API 42414.3 The Nashorn Scripting Engine 42814.4 Shell Scripting with Nashorn 437Exercises 440Index 443

最近チェックした商品