Rename Stream<T> to Sequence<T> and provide migration path via deprecated types and functions.

This commit is contained in:
Ilya Ryzhenkov
2015-03-10 18:10:57 +03:00
parent 9684d217b3
commit e448f40756
47 changed files with 1906 additions and 556 deletions
@@ -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)
}