Stdlib rename: List.indexOf(T), List.lastIndexOf(T), MutableCollection.removeAll(Collection<T>), MutableCollection.retainAll(Collection<T>)

This commit is contained in:
Mikhail Glukhikh
2015-10-12 15:53:22 +03:00
parent ed5ba01e85
commit 78cfeb0d7d
49 changed files with 244 additions and 226 deletions
+2 -2
View File
@@ -35,8 +35,8 @@ fun <T> testMutableCollection(c: MutableCollection<T>, t: T) {
fun <T> testList(l: List<T>, <!UNUSED_PARAMETER!>t<!>: T) {
val <!NAME_SHADOWING!>t<!>: T = l.get(1)
val <!UNUSED_VARIABLE!>i<!>: Int = l.indexOf(1)
val <!UNUSED_VARIABLE!>i1<!>: Int = l.lastIndexOf(1)
val <!UNUSED_VARIABLE!>i<!>: Int = l.indexOf(t)
val <!UNUSED_VARIABLE!>i1<!>: Int = l.lastIndexOf(t)
val <!UNUSED_VARIABLE!>listIterator<!>: ListIterator<T> = l.listIterator()
val <!UNUSED_VARIABLE!>listIterator1<!>: ListIterator<T> = l.listIterator(1)
val <!UNUSED_VARIABLE!>list<!>: List<T> = l.subList(1, 2)