Kotlin in Action by Dmitry Jemerov
Author:Dmitry Jemerov
Language: eng
Format: epub
Publisher: Manning Publications
How does the separation between read-only and mutable collections work? Didn’t we say earlier that Kotlin collections are the same as Java collections? Isn’t there a contradiction? Let’s see what really happens here.
6.3.3. Kotlin collections and Java
It’s true that every Kotlin collection is an instance of the corresponding Java collection interface. No conversion is involved when moving between Kotlin and Java; there’s no need for wrappers or copying data. But every Java collection interface has two representations in Kotlin: a read-only one and a mutable one, as you can see in figure 6.13.
Download
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.
Secrets of the JavaScript Ninja by John Resig & Bear Bibeault(6396)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(6231)
Kotlin in Action by Dmitry Jemerov(4873)
Odoo 15 Development Essentials by Daniel Reis(2696)
Odoo 15 Development Essentials - Fifth Edition by Daniel Reis & Greg Mader(2607)
React Native - Building Mobile Apps with JavaScript by Novick Vladimir(2417)
Learning Angular - Second Edition by Christoffer Noring(2242)
Pride and Prejudice by Jane Austen(2208)
Mobile Forensics Cookbook by Igor Mikhaylov(1901)
Computers For Seniors For Dummies by Nancy C. Muir(1869)
Bulletproof Android: Practical Advice for Building Secure Apps (Developer's Library) by Godfrey Nolan(1752)
Android Development with Kotlin by Marcin Moskala & Igor Wojda(1688)
Building Android UIs with Custom Views by Raimon Ràfols Montané(1678)
1936941139 (N) by Bob Rosenthal(1605)
Building Progressive Web Apps: Bringing the Power of Native to the Browser by Ater Tal(1600)
Hands-On Internet of Things with MQTT by Tim Pulver(1579)
Android App Development by Franceschi Hervé J.;(1575)
Ember.js in Action by Joachim Haagen Skeie(1552)
Hands-On Design Patterns with React Native by Mateusz Grzesiukiewicz(1533)
