Rename Stream<T> to Sequence<T> and provide migration path via deprecated types and functions.
This commit is contained in:
@@ -21,7 +21,7 @@ class MutableCollectionTest {
|
||||
val list = listOf("foo", "bar")
|
||||
val collection = ArrayList<String>()
|
||||
|
||||
collection.addAll(list.stream())
|
||||
collection.addAll(list.sequence())
|
||||
|
||||
assertEquals(list, collection)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user