دسترسی نامحدود
برای کاربرانی که ثبت نام کرده اند
برای ارتباط با ما می توانید از طریق شماره موبایل زیر از طریق تماس و پیامک با ما در ارتباط باشید
در صورت عدم پاسخ گویی از طریق پیامک با پشتیبان در ارتباط باشید
برای کاربرانی که ثبت نام کرده اند
درصورت عدم همخوانی توضیحات با کتاب
از ساعت 7 صبح تا 10 شب
ویرایش: 1
نویسندگان: Ralph Lecessi
سری:
ISBN (شابک) : 1484242777, 9781484242773
ناشر: Apress
سال نشر: 2019
تعداد صفحات: 415
زبان: English
فرمت فایل : PDF (درصورت درخواست کاربر به PDF، EPUB یا AZW3 تبدیل می شود)
حجم فایل: 3 مگابایت
در صورت تبدیل فایل کتاب Functional Interfaces in Java: Fundamentals and Examples به فرمت های PDF، EPUB، AZW3، MOBI و یا DJVU می توانید به پشتیبان اطلاع دهید تا فایل مورد نظر را تبدیل نمایند.
توجه داشته باشید کتاب رابط های کاربردی در جاوا: مبانی و مثال ها نسخه زبان اصلی می باشد و کتاب ترجمه شده به فارسی نمی باشد. وبسایت اینترنشنال لایبرری ارائه دهنده کتاب های زبان اصلی می باشد و هیچ گونه کتاب ترجمه شده یا نوشته شده به فارسی را ارائه نمی دهد.
Table of Contents About the Author About the Technical Reviewer Foreword Chapter 1: Functional Interfaces Section 1.1: Interfaces in Java Section 1.2: Enhancements to Interfaces in Java 8 and Java 9 Section 1.3: Functional Interfaces Defined Section 1.4: Implementing Functional Interfaces with Pre-Java 8 Constructs Section 1.5: Providing Default Methods in Functional Interfaces Section 1.6: Providing Static Methods in Functional Interfaces Section 1.7: Generic Functional Interfaces Section 1.7.1: Generic Functional Interfaces with Type Restrictions Section 1.8: Specializing a Generic Functional Interface PROJECT 1: Playful Pets Problem Statement Solution Short Problems Long Problems Chapter 2: Lambda Expressions Section 2.1: Lambda Expressions Defined Section 2.2: Using Lambda Expressions to Represent Functional Interfaces Section 2.3: The Scope of a Lambda Expression Section 2.4: Lambda Argument List Variations Section 2.5: Lambda Bodies in Block Form Section 2.6: Limitations of Lambda Expressions PROJECT 2: Compute Square Problem Statement Solution Short Problems Long Problems Chapter 3: Predicates Section 3.1: The java.util.function Package Section 3.2: The Predicate Interface Section 3.3: Passing a Predicate to a Method Section 3.4: Chains of Functional Interfaces Section 3.5: Predicate Chaining Creates Complex Logical Expressions Section 3.5.1: Chains Involving the OR Operation Section 3.5.2: Chains Involving the AND Operation Section 3.5.3: Chains Involving the ! Operation Section 3.5.4: Using Predicate.isEqual Section 3.5.5: Using Predicate.not [JAVA 11] Section 3.6: Overriding Predicate Default Methods Section 3.7: Specializations of Predicates Section 3.8: Binary Predicates PROJECT 3: Discount Dave Problem Statement Solution Short Problems Long Problems Chapter 4: Functions Section 4.1: The Function Interface Section 4.2: Passing a Generic Function to a Method Section 4.2.1: Passing a Function with Restricted or Known Type Parameters Section 4.3: Function Chaining Section 4.3.1: Chains Involving the andThen Method Section 4.3.2: Chains Involving the compose Method Section 4.4: The Function.identity Method Section 4.5: Specializations of Functions Which Convert from Primitive Types Section 4.6: Specializations of Functions Which Convert to Primitive Types Section 4.7: Non-generic Specializations of Functions Section 4.8: Binary Functions Section 4.9: Creating Chains Using BiFunctions Section 4.10: Specializations of BiFunctions Which Convert to Primitive Types PROJECT 4: Sales Promotions Problem Statement Solution Short Problems Long Problems Chapter 5: Operators Section 5.1: The UnaryOperator Interface Section 5.2: Specializations of UnaryOperator Section 5.2.1: Chains Involving UnaryOperator Specializations Section 5.3: The BinaryOperator Interface Section 5.4: Non-generic Specializations of BinaryOperator PROJECT 5: Calculator Problem Statement Solution Short Problems Long Problems Chapter 6: Consumers Section 6.1: The Consumer Interface Section 6.2: Using Chains of Consumers to Compute Equations Section 6.3: Using Consumers with println as the Terminal Operation Section 6.4: Non-generic Specializations of Consumers Section 6.5: The BiConsumer Interface Section 6.6: Specializations of BiConsumer PROJECT 6: Bank Transactions Problem Statement Solution Short Problems Long Problems Chapter 7: Suppliers Section 7.1: The Supplier Interface Section 7.2: Wrapping User Prompts in a Supplier Section 7.3: Non-generic Specializations of Suppliers PROJECT 7: Ticketing System Problem Statement Solution Short Problems Long Problems Chapter 8: Use in Traversing Objects Section 8.1: Traversing Objects Using Iterators Section 8.2: Traversing Java Arrays of Primitive Types Section 8.2.1: Using Specializations of PrimitiveIterator Section 8.3: Traversing Objects Using Spliterators Section 8.4: Traversing Iterable Objects Section 8.5: Traversing Iterable Objects That Contain Java Arrays of Primitives Section 8.5.1: Using Specializations of PrimitiveIterator Section 8.6: Traversing Maps Section 8.7: Traversing Sets PROJECT 8: Payroll Problem Statement Solution Short Problems Long Problems Chapter 9: Use in Collections Section 9.1: Removing Elements from a Collection Section 9.2: Populating an Array Section 9.3: Replacing the Elements of a List or a Map Section 9.4: Parallel Computations on Arrays Section 9.5: Map Computations Section 9.6: Map Merging Section 9.7: Functional Interfaces and Sets PROJECT 9: Department of Motor Vehicles Problem Statement Solution Short Problems Long Problems Chapter 10: Use in Comparing Objects Section 10.1: The Comparator Interface Section 10.2: Some Useful Comparator Methods Section 10.3: The Comparator comparing Methods Section 10.4: Specializations of the Comparator comparing Method Section 10.5: Building Chains of Comparators Section 10.6: Specializing Comparator Chain Components Section 10.7: Using Comparators to Sort Lists Section 10.8: Using Comparators to Sort Java Arrays Section 10.9: Using Comparators to Organize Maps Section 10.10: Using Comparators in BinaryOperator Methods PROJECT 10: Real Estate Broker Problem Statement Solution Short Problems Long Problems Chapter 11: Use in Optionals Section 11.1: Creating an Optional Section 11.2: Determining If an Optional Is Present Section 11.3: Retrieving the Contents of an Optional Section 11.4: Creating Chains of Optionals Section 11.5: Printing the Contents of an Optional Section 11.6: Filtering Optionals Section 11.7: Optional Chains Involving map and flatmap PROJECT 11: Guess a Number Problem Statement Solution Short Problems Long Problems Chapter 12: Use in Streams Section 12.1: Generating Stream Elements Section 12.2: Traversing Streams Section 12.3: Filtering Stream Elements Section 12.4: Converting an Object to a Stream Section 12.5: Sorting Stream Elements Section 12.6: Selecting the Smallest or Largest Element in a Stream Section 12.7: flatMap vs. map Section 12.8: Reducing Stream Elements Section 12.9: Collecting Stream Elements into a Mutable Reduction Section 12.9.1: Using Prewritten Collectors Section 12.10: Building Streams Interactively Section 12.11: Displaying Intermediate Results Section 12.12: Stream Specializations PROJECT 12: Dave’s Part Inventory Problem Statement Solution Short Problems Long Problems Chapter 13: Use in Multithreaded Programs Section 13.1: Performing Computations Using Runnable and Callable Section 13.1.1: Using Runnable in Optionals Section 13.2: Futures and FutureTasks Section 13.3: CompletionStages and CompletableFutures Section 13.4: Creating CompletableFutures and Retrieving Their Results Section 13.5: Using the thenApply and thenAccept Methods Section 13.6: Processing the First Asynchronous Future to Complete Section 13.7: Making a Future Dependent on Another Future Section 13.8: Cancelling a Future Section 13.9: When Futures Throw Unchecked Exceptions Section 13.10: Running Futures in Parallel PROJECT 13: Sentence Builder Problem Statement Solution Short Problems Long Problems Chapter 14: Use in Atomic Calculations Section 14.1: Atomic Integers Section 14.1.1: Accumulating an Atomic Value Section 14.1.2: Updating an Atomic Value Section 14.1.3: Comparing an Atomic Value Section 14.2: Atomic Longs Section 14.3: Atomic Booleans Section 14.4: Atomic Arrays Section 14.5: Atomic References PROJECT 14: Bank Account Problem Statement Solution Short Problems Long Problems Chapter 15: Use in JavaFX Applications Section 15.1: Handling JavaFX Events Section 15.2: Building JavaFX UI Components Section 15.3: JavaFX Builder Factories Section 15.4: Monitoring Changes in Collections Section 15.4.1: Monitoring List Changes Section 15.4.2: Monitoring Set Changes Section 15.4.3: Monitoring Map Changes Section 15.5: Invalidating an Observable Object PROJECT 15: DMV GUI Problem Statement Solution Short Problems Long Problems Appendix: Method References Section A.1: Using References to Static Methods to Represent Functional Interfaces Section A.2: References to Instance Methods Section A.3: References to Constructors Section A.4: Passing Method References as Arguments Section A.5: Representing Functions with Method References Section A.6: Using Method References with Comparators Section A.7: Using Method References with Streams Index