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
@@ -233,8 +233,8 @@ fun specialJVM(): List<GenericFunction> {
override fun contains(o: T): Boolean = this@asList.contains(o)
override fun iterator(): MutableIterator<T> = this@asList.iterator() as MutableIterator<T>
override fun get(index: Int): T = this@asList[index]
override fun indexOf(o: Any?): Int = this@asList.indexOf(o as T)
override fun lastIndexOf(o: Any?): Int = this@asList.lastIndexOf(o as T)
override fun indexOf(o: T): Int = this@asList.indexOf(o)
override fun lastIndexOf(o: T): Int = this@asList.lastIndexOf(o)
}
"""
}