August 2017
Intermediate to advanced
440 pages
10h
English
Sequence is an interface that is also used to refer to a collection of elements. It is an alternative for Iterable. For Sequence, there are separate implementations of most collection processing functions (map, flatMap, filter, sorted, and so on). The key difference is that all these functions are constructed in such a way that they return a sequence that is packaged over the previous sequence. Due to this, the following points become true:
In Android, sequences are used for processing very big collections or for ...
Read now
Unlock full access