دسترسی نامحدود
برای کاربرانی که ثبت نام کرده اند
برای ارتباط با ما می توانید از طریق شماره موبایل زیر از طریق تماس و پیامک با ما در ارتباط باشید
در صورت عدم پاسخ گویی از طریق پیامک با پشتیبان در ارتباط باشید
برای کاربرانی که ثبت نام کرده اند
درصورت عدم همخوانی توضیحات با کتاب
از ساعت 7 صبح تا 10 شب
دسته بندی: برنامه نویسی: زبان های برنامه نویسی ویرایش: 1 نویسندگان: Ken Kousen سری: ISBN (شابک) : 1492046671, 9781492046677 ناشر: O’Reilly Media سال نشر: 2019 تعداد صفحات: 0 زبان: English فرمت فایل : EPUB (درصورت درخواست کاربر به PDF، EPUB یا AZW3 تبدیل می شود) حجم فایل: 3 مگابایت
کلمات کلیدی مربوط به کتاب کتاب آشپزی کاتلین: رویکردی مشکل محور: برنامه نویسی، جاوا، همزمان، برنامه نویسی تابعی، کتاب آشپزی، اندروید، برنامه نویسی شی گرا، کوروتین ها، تست، چارچوب Spring، Kotlin، Gradle، Groovy
در صورت تبدیل فایل کتاب Kotlin Cookbook: A Problem-Focused Approach به فرمت های PDF، EPUB، AZW3، MOBI و یا DJVU می توانید به پشتیبان اطلاع دهید تا فایل مورد نظر را تبدیل نمایند.
توجه داشته باشید کتاب کتاب آشپزی کاتلین: رویکردی مشکل محور نسخه زبان اصلی می باشد و کتاب ترجمه شده به فارسی نمی باشد. وبسایت اینترنشنال لایبرری ارائه دهنده کتاب های زبان اصلی می باشد و هیچ گونه کتاب ترجمه شده یا نوشته شده به فارسی را ارائه نمی دهد.
از Kotlin برای ساخت برنامه های اندروید، برنامه های کاربردی وب و موارد دیگر استفاده کنید—در حالی که تفاوت های ظریف این زبان محبوب را یاد می گیرید. با این کتاب آشپزی منحصر به فرد، توسعه دهندگان یاد خواهند گرفت که چگونه این زبان مبتنی بر جاوا را در پروژه های خود اعمال کنند. هم برنامه نویسان باتجربه و هم آنهایی که تازه وارد کاتلین شده اند از دستور العمل های عملی این کتاب بهره مند خواهند شد. نویسنده کن کوسن (دستورالعملهای جاوا مدرن) به شما نشان میدهد که چگونه مشکلات کاتلین را با تمرکز بر موارد استفاده خودتان به جای نحو اولیه حل کنید. شما زمینه را ارائه می دهید و این کتاب پاسخ ها را ارائه می دهد. Kotlin که قبلاً در توسعه اندروید بسیار بزرگ است، میتواند در هر جایی که جاوا اعمال میشود، و همچنین برای توسعه iOS، برنامههای کاربردی بومی، JavaScriptgeneration و موارد دیگر مورد استفاده قرار گیرد. همین امروز با کاتلین وارد شوید و پروژه های معناداری بسازید. • مفاهیم برنامه نویسی کاربردی، از جمله لامبدا، دنباله ها و همزمانی را اعمال کنید • نحوه استفاده از توابع نمایندگی، مقداردهی اولیه دیرهنگام و دامنه را مشاهده کنید کاوش قابلیت همکاری جاوا و دسترسی به کتابخانه های جاوا با استفاده از Kotlin • توابع برنامه افزودنی خود را اضافه کنید • از کتابخانه های مفیدی مانند JUnit 5 استفاده کنید • توصیه های عملی برای کار با چارچوب های خاص، مانند Android و Spring دریافت کنید
Use Kotlin to build Android apps, web applications, and more—while you learn the nuances of this popular language. With this unique cookbook, developers will learn how to apply thisJava-based language to their own projects. Both experienced programmers and those new to Kotlin will benefit from the practical recipes in this book. Author Ken Kousen (Modern Java Recipes) shows you how to solve problems with Kotlin by concentrating on your own use cases rather than on basic syntax. You provide the contextand this book supplies the answers. Already big in Android development, Kotlin can be used anywhere Java is applied, as well as for iOS development, native applications, JavaScriptgeneration, and more. Jump in and build meaningful projects with Kotlin today. • Apply functional programming concepts, including lambdas, sequences, and concurrency • See how to use delegates, late initialization, and scope functions • Explore Java interoperability and access Java libraries using Kotlin • Add your own extension functions • Use helpful libraries such as JUnit 5 • Get practical advice for working with specific frameworks, like Android and Spring
Cover Copyright Table of Contents Foreword Preface Who Should Read This Book How This Book Is Organized Conventions Used in This Book Using Code Examples O’Reilly Online Learning How to Contact Us Acknowledgments Chapter 1. Installing and Running Kotlin 1.1 Running Kotlin Without a Local Compiler Problem Solution Discussion 1.2 Installing Kotlin Locally Problem Solution Discussion See Also 1.3 Compiling and Running Kotlin from the Command Line Problem Solution Discussion See Also 1.4 Using the Kotlin REPL Problem Solution Discussion 1.5 Executing a Kotlin Script Problem Solution Discussion 1.6 Building a Standalone Application Using GraalVM Problem Solution Discussion 1.7 Adding the Kotlin Plug-in for Gradle (Groovy Syntax) Problem Solution Discussion See Also 1.8 Adding the Kotlin Plug-in for Gradle (Kotlin Syntax) Problem Solution Discussion See Also 1.9 Using Gradle to Build Kotlin Projects Problem Solution Discussion 1.10 Using Maven with Kotlin Problem Solution Discussion Chapter 2. Basic Kotlin 2.1 Using Nullable Types in Kotlin Problem Solution Discussion 2.2 Adding Nullability Indicators to Java Problem Solution Discussion 2.3 Adding Overloaded Methods for Java Problem Solution Discussion 2.4 Converting Between Types Explicitly Problem Solution Discussion 2.5 Printing to Different Bases Problem Solution Discussion 2.6 Raising a Number to a Power Problem Solution Discussion 2.7 Using Bitwise Shift Operators Problem Solution Discussion 2.8 Using Bitwise Boolean Operators Problem Solution Discussion 2.9 Creating Pair Instances with to Problem Solution Discussion Chapter 3. Object-Oriented Programming in Kotlin 3.1 Understanding the Difference Between const and val Problem Solution Discussion See also 3.2 Creating Custom Getters and Setters Problem Solution Discussion See Also 3.3 Defining Data Classes Problem Solution Discussion 3.4 The Backing Property Technique Problem Solution Discussion See Also 3.5 Overloading Operators Problem Solution Discussion 3.6 Using lateinit for Delayed Initialization Problem Solution Discussion See Also 3.7 Using Safe Casting, Reference Equality, and Elvis to Override equals Problem Solution Discussion See Also 3.8 Creating a Singleton Problem Solution Discussion 3.9 Much Ado About Nothing Problem Solution Discussion Chapter 4. Functional Programming 4.1 Using fold in Algorithms Problem Solution Discussion See Also 4.2 Using the reduce Function for Reductions Problem Solution Discussion See Also 4.3 Applying Tail Recursion Problem Solution Discussion Chapter 5. Collections 5.1 Working with Arrays Problem Solution Discussion 5.2 Creating Collections Problem Solution Discussion 5.3 Creating Read-Only Views from Existing Collections Problem Solution Discussion 5.4 Building a Map from a Collection Problem Solution Discussion 5.5 Returning a Default When a Collection Is Empty Problem Solution Discussion 5.6 Restricting a Value to a Given Range Problem Solution Discussion 5.7 Processing a Window on a Collection Problem Solution Discussion 5.8 Destructuring Lists Problem Solution Discussion 5.9 Sorting by Multiple Properties Problem Solution Discussion 5.10 Defining Your Own Iterator Problem Solution Discussion 5.11 Filtering a Collection by Type Problem Solution Discussion 5.12 Making a Range into a Progression Problem Solution Discussion Chapter 6. Sequences 6.1 Using Lazy Sequences Problem Solution Discussion 6.2 Generating Sequences Problem Solution Discussion See Also 6.3 Managing Infinite Sequences Problem Solution Discussion 6.4 Yielding from a Sequence Problem Solution Discussion See Also Chapter 7. Scope Functions 7.1 Initializing Objects After Construction with apply Problem Solution Discussion 7.2 Using also for Side Effects Problem Solution Discussion See Also 7.3 Using the let Function and Elvis Problem Solution Discussion See Also 7.4 Using let with a Temporary Variable Problem Solution Discussion See Also Chapter 8. Kotlin Delegates 8.1 Implementing Composition by Delegation Problem Solution Discussion See Also 8.2 Using the lazy Delegate Problem Solution Discussion 8.3 Ensuring That a Value Is Not Null Problem Solution Discussion 8.4 Using the observable and vetoable Delegates Problem Solution Discussion 8.5 Supplying Maps as Delegates Problem Solution Discussion 8.6 Creating Your Own Delegates Problem Solution Discussion Chapter 9. Testing 9.1 Setting the Test Class Life Cycle Problem Solution Discussion 9.2 Using Data Classes for Tests Problem Solution Discussion 9.3 Using Helper Functions with Default Arguments Problem Solution Discussion 9.4 Repeating JUnit 5 Tests with Different Data Problem Solution Discussion See Also 9.5 Using Data Classes for Parameterized Tests Problem Solution Discussion See Also Chapter 10. Input/Output 10.1 Managing Resources with use Problem Solution Discussion See Also 10.2 Writing to a File Problem Solution Discussion See Also Chapter 11. Miscellaneous 11.1 Working with the Kotlin Version Problem Solution Discussion 11.2 Executing a Lambda Repeatedly Problem Solution Discussion 11.3 Forcing when to Be Exhaustive Problem Solution Discussion 11.4 Using the replace Function with Regular Expressions Problem Solution Discussion See Also 11.5 Converting to Binary String and Back Problem Solution Discussion 11.6 Making a Class Executable Problem Solution Discussion See also 11.7 Measuring Elapsed Time Problem Solution Discussion 11.8 Starting Threads Problem Solution Discussion See Also 11.9 Forcing Completion with TODO Problem Solution Discussion 11.10 Understanding the Random Behavior of Random Problem Solution Discussion 11.11 Using Special Characters in Function Names Problem Solution Discussion 11.12 Telling Java About Exceptions Problem Solution Discussion Chapter 12. The Spring Framework 12.1 Opening Spring-Managed Bean Classes for Extension Problem Solution Discussion See Also 12.2 Persisting Kotlin Data Classes Problem Solution Discussion See Also 12.3 Injecting Dependencies Problem Solution Discussion Chapter 13. Coroutines and Structured Concurrency 13.1 Choosing Coroutine Builders Problem Solution Discussion 13.2 Replacing async/await with withContext Problem Solution Discussion 13.3 Working with Dispatchers Problem Solution Discussion See Also 13.4 Running Coroutines on a Java Thread Pool Problem Solution Discussion See Also 13.5 Cancelling Coroutines Problem Solution Discussion 13.6 Debugging Coroutines Problem Solution Discussion Index About the Author