Kotlin Standard Library Cookbook: Master the powerful Kotlin standard library through practical code examples by Samuel Urbanowicz
Author:Samuel Urbanowicz [Urbanowicz, Samuel]
Language: eng
Format: epub, pdf
Tags: COM051210 - COMPUTERS / Programming / Object Oriented, COM051000 - COMPUTERS / Programming / General, COM051280 - COMPUTERS / Programming Languages / Java
Publisher: Packt Publishing
Published: 2018-07-29T23:00:00+00:00
There's more...
In this recipe, we have created the Client class, which contains immutable val properties. In order to store mutable var properties, we can use a MutableMap instance instead of a read-only Map.
Built-in support for class properties is a powerful feature of the language. It brings awesome possibilities to shape your code in a neat way. You should definitely give it a try when working on a more complex project. For example, you can delegate the properties of your entities to be read and written directly to and from the database. There is also a group of ready-to-use delegates built into the standard library, such as the Lazy or Observable delegates. You can learn more about their application in the next recipes in this chapter. You can explore the full set of built-in delegates in the official standard library docs: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.properties/-delegates/index.html.
Download
Kotlin Standard Library Cookbook: Master the powerful Kotlin standard library through practical code examples by Samuel Urbanowicz.pdf
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
The Mikado Method by Ola Ellnestam Daniel Brolund(23444)
Hello! Python by Anthony Briggs(22581)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(21369)
Kotlin in Action by Dmitry Jemerov(20427)
Dependency Injection in .NET by Mark Seemann(20380)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(20264)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(19440)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(18250)
Grails in Action by Glen Smith Peter Ledbrook(17374)
Adobe Camera Raw For Digital Photographers Only by Rob Sheppard(16969)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(14803)
Secrets of the JavaScript Ninja by John Resig & Bear Bibeault(12769)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(11206)
A Developer's Guide to Building Resilient Cloud Applications with Azure by Hamida Rebai Trabelsi(10598)
Jquery UI in Action : Master the concepts Of Jquery UI: A Step By Step Approach by ANMOL GOYAL(10438)
Hit Refresh by Satya Nadella(9128)
The Kubernetes Operator Framework Book by Michael Dame(8543)
Exploring Deepfakes by Bryan Lyon and Matt Tora(8370)
Robo-Advisor with Python by Aki Ranin(8314)