✓ Schweizer Online-Shop
Core Java for the Impatient

Core Java for the Impatient

von Cay Horstmann

Verlag
Pearson
Unsere Artikel-Nr.
4YP9Q2Z

Beschreibung

Clear, Concise Guide to the Core Language and Libraries-Updated through Java 17. Modern Java introduces major enhancements that impact the core Java technologies and APIs at the heart of the Java platform. Many old Java idioms are no longer needed, and new features and programming paradigms can make you far more effective. However, navigating these changes can be challenging. Core Java for the Impatient, Third Edition,. is a complete yet concise guide that reflects all changes through Java SE 17, Oracle's latest Long-Term Support (LTS) release. Written by Cay S. Horstmann-author of the classic two-volume Core Java. -this indispensable tutorial offers a faster, easier pathway for learning modern Java. Horstmann covers everything working developers need to know, including the powerful concepts of lambda expressions and streams, modern constructs such as records and sealed classes, and sophisticated concurrent programming techniques. Given the size and scope of Java 17, there's plenty to cover, but it's presented in small chunks organized for quick access and easy understanding, with plenty of practical insights and sample code to help you quickly apply all that's new. Test code as you create it with JShell. Improve your object-oriented design with records and sealed classes. Effectively use text blocks, switch expressions, and pattern matching. Understand functional programming with lambda expressions. Streamline and optimize data management with the Streams API. Use modern library features and threadsafe data structures to implement concurrency reliably. Work with the modularized Java API and third-party modules. Take advantage of API improvements for working with collections, input/output, regular expressions, and processes. Learn the APIs for date/time processing and internationalization. Whether you're an experienced developer just getting started with modern Java, or have been programming with Java for years, this guide will help you write more robust, efficient, and secure Java code. Register your book for convenient access to downloads, updates, and/or corrections as they become available. See inside book for details.

Spezifikationen

SpracheEnglisch
AutorCay Horstmann
Auflage3
Erscheinungsjahr2022
ErscheinungslandUSA
FormatBuch (Softcover)
Anzahl Seiten576

Inhaltsverzeichnis

"

Preface xxiii<\/em>\r\nAcknowledgments xxv<\/em>\r\nAbout the Author xxvii<\/em><\/p>

Chapter 1: Fundamental Programming Structures 1\r\n1.1 Our First Program 2\r\n1.2 Primitive Types 11\r\n1.3 Variables 14\r\n1.4 Arithmetic Operations 17\r\n1.5 Strings 25\r\n1.6 Input and Output 35\r\n1.7 Control Flow 38\r\n1.8 Arrays and Array Lists 46\r\n1.9 Functional Decomposition 56\r\nExercises 58<\/p>

Chapter 2: Object-Oriented Programming 61\r\n2.1 Working with Objects 62\r\n2.2 Implementing Classes 67\r\n2.3 Object Construction 71\r\n2.4 Records 76\r\n2.5 Static Variables and Methods 79\r\n2.6 Packages 83\r\n2.7 Nested Classes 90\r\n2.8 Documentation Comments 95\r\nExercises 100<\/p>

Chapter 3: Interfaces and Lambda Expressions 105\r\n3.1 Interfaces 106\r\n3.2 Static, Default, and Private Methods 113\r\n3.3 Examples of Interfaces 117\r\n3.4 Lambda Expressions 121\r\n3.5 Method and Constructor References 124\r\n3.6 Processing Lambda Expressions 127\r\n3.7 Lambda Expressions and Variable Scope 131\r\n3.8 Higher-Order Functions 135\r\n3.9 Local and Anonymous Classes 137\r\nExercises 139<\/p>

Chapter 4: Inheritance and Reflection 143\r\n4.1 Extending a Class 144\r\n4.2 Inheritance Hierarchies 150\r\n4.3 Object: The Cosmic Superclass 157\r\n4.4 Enumerations 166\r\n4.5 Runtime Type Information and Resources 170\r\n4.6 Reflection 179\r\nExercises 188<\/p>

Chapter 5: Exceptions, Assertions, and Logging 191\r\n5.1 Exception Handling 192\r\n5.2 Assertions 204\r\n5.3 Logging 206\r\nExercises 214<\/p>

Chapter 6: Generic Programming 219\r\n6.1 Generic Classes 220\r\n6.2 Generic Methods 221\r\n6.3 Type Bounds 222\r\n6.4 Type Variance and Wildcards 223\r\n6.5 Generics in the Java Virtual Machine 228\r\n6.6 Restrictions on Generics 231\r\n6.7 Reflection and Generics 238\r\nExercises 241<\/p>

Chapter 7: Collections 247\r\n7.1 An Overview of the Collections Framework 248\r\n7.2 Iterators 252\r\n7.3 Sets 254\r\n7.4 Maps 255\r\n7.5 Other Collections 259\r\n7.6 Views 264\r\nExercises 267<\/p>

Chapter 8: Streams 271\r\n8.1 From Iterating to Stream Operations 272\r\n8.2 Stream Creation 273\r\n8.3 The filter, map, and flatMap Methods 276\r\n8.4 Extracting Substreams and Combining Streams 278\r\n8.5 Other Stream Transformations 279\r\n8.6 Simple Reductions 280\r\n8.7 The Optional Type 281\r\n8.8 Collecting Results 286\r\n8.9 Collecting into Maps 287\r\n8.10 Grouping and Partitioning 289\r\n8.11 Downstream Collectors 289\r\n8.12 Reduction Operations 292\r\n8.13 Primitive Type Streams 294\r\n8.14 Parallel Streams 295\r\nExercises 298<\/p>

Chapter 9: Processing Input and Output 301\r\n9.1 Input\/Output Streams, Readers, and Writers 302\r\n9.2 Paths, Files, and Directories 312\r\n9.3 HTTP Connections 320\r\n9.4 Regular Expressions 323\r\n9.5 Serialization 333\r\nExercises 344<\/p>

Chapter 10: Concurrent Programming 347\r\n10.1 Concurrent Tasks 348\r\n10.2 Asynchronous Computations 353\r\n10.3 Thread Safety 360\r\n10.4 Parallel Algorithms 366\r\n10.5 Threadsafe Data Structures 368\r\n10.6 Atomic Counters and Accumulators 373\r\n10.7 Locks and Conditions 375\r\n10.8 Threads 381\r\n10.9 Processes 386\r\nExercises 390<\/p>

Chapter 11: Annotations 397\r\n11.1 Using Annotations 398\r\n11.2 Defining Annotations 403\r\n11.3 Standard Annotations 406\r\n11.4 Processing Annotations at Runtime 410\r\n11.5 Source-Level Annotation Processing 413\r\nExercises 417<\/p>

Chapter 12: The Date and Time API 421\r\n12.1 The Time Line 422\r\n12.2 Local Dates 424\r\n12.3 Date Adjusters 428\r\n12.4 Local Time 429\r\n12.5 Zoned Time 430\r\n12.6 Formatting and Parsing 433\r\n12.7 Interoperating with Legacy Code 436\r\nExercises 437<\/p>

Chapter 13: Internationalization 441\r\n13.1 Locales 442\r\n13.2 Number Formats 447\r\n13.3 Currencies 448\r\n13.4 Date and Time Formatting 449\r\n13.5 Collation and Normalization 451\r\n13.6 Message Formatting 453\r\n13.7 Resource Bundles 455\r\n13.8 Character Encodings 458\r\n13.9 Preferences 459\r\nExercises 461<\/p>

Chapter 14: Compiling and Scripting 463\r\n14.1 The Compiler API 463\r\n14.2 The Scripting API 467\r\nExercises 472<\/p>

Chapter 15: The Java Platform Module System 475\r\n15.1 The Module Concept 476\r\n15.2 Naming Modules 478\r\n15.3 The Modular Hello, World! Program 478\r\n15.4 Requiring Modules 480\r\n15.5 Exporting Packages 482\r\n15.6 Modules and Reflective Access 485\r\n15.7 Modular JARs 488\r\n15.8 Automatic Modules 489\r\n15.9 The Unnamed Module 491\r\n15.10 Command-Line Flags for Migration 491\r\n15.11 Transitive and Static Requirements 493\r\n15.12 Qualified Exporting and Opening 495\r\n15.13 Service Loading 496\r\n15.14 Tools for Working with Modules 497\r\nExercises 499<\/p>

Index 501<\/em><\/p>"

Bewertungen

Produkt bewerten

Für dieses Produkt liegt noch keine Bewertung vor. Wenn Sie es gekauft haben, teilen Sie gerne Ihre Erfahrung.

Zahlungsarten

payment-einzahlungsscheinpayment-twintpayment-mastercardpayment-visapost-finance-paypayment-apple-paypayment-google-paysamsung-pay

Rechnung (Einzahlungsschein mit QR-Code), Twint, Kreditkarte, PostFinance, Apple, Google oder Samsung Pay.

Versand

Kostenlos: Schweiz & Liechtenstein

Rückgabe

30 Tage Rückgaberecht

Sie können das Produkt innerhalb von 30 Wochentagen ohne Angabe von Gründen zurücksenden, sofern es unbeschädigt und in der Originalverpackung ist.

Weitere Hinweise finden Sie in unseren AGB unter D.1.