Drop deprecated merge functions.

This commit is contained in:
Ilya Gorbunov
2015-10-30 17:38:37 +03:00
parent 65a98d6968
commit 05c2edf60c
4 changed files with 0 additions and 179 deletions
@@ -1397,16 +1397,6 @@ public fun <T : Any> List<T?>.requireNoNulls(): List<T> {
return this as List<T>
}
@Deprecated("Use zip() with transform instead.", ReplaceWith("zip(array, transform)"))
public inline fun <T, R, V> Iterable<T>.merge(array: Array<out R>, transform: (T, R) -> V): List<V> {
return zip(array, transform)
}
@Deprecated("Use zip() with transform instead.", ReplaceWith("zip(other, transform)"))
public inline fun <T, R, V> Iterable<T>.merge(other: Iterable<R>, transform: (T, R) -> V): List<V> {
return zip(other, transform)
}
/**
* Returns a list containing all elements of the original collection except the elements contained in the given [array].
*/