mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2026-10-25 17:42:27 +08:00
* refactor: clean to roadmap content * refactor: move shared helpers into scripts/lib
761 B
761 B
Transformations in Kotlin Collections
Transformations in Kotlin collections involve modifying the elements within a collection to create a new collection. These operations allow you to apply a function to each element, changing its value or structure, without altering the original collection. Common transformations include mapping (changing the value of each element), flattening (combining nested collections into a single collection), and zipping (combining two collections element-wise).
Visit the following resources to learn more: