Comparator<T> replaced with Comparator<in T> #KT-6030 Fixed
This commit is contained in:
@@ -4,10 +4,10 @@ import java.lang.*
|
||||
import java.util.*
|
||||
|
||||
library("collectionsMax")
|
||||
public fun max<T>(col : Collection<T>, comp : Comparator<T>) : T = noImpl
|
||||
public fun max<T>(col : Collection<T>, comp : Comparator<in T>) : T = noImpl
|
||||
|
||||
library("collectionsSort")
|
||||
public fun <T> sort(list: MutableList<T>): Unit = noImpl
|
||||
|
||||
library("collectionsSort")
|
||||
public fun <T> sort(list: MutableList<T>, comparator: java.util.Comparator<T>): Unit = noImpl
|
||||
public fun <T> sort(list: MutableList<T>, comparator: java.util.Comparator<in T>): Unit = noImpl
|
||||
|
||||
Reference in New Issue
Block a user