Adjust testData to isEmpty/key/value transformations
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
class MyMapEntry<K, V>: Map.Entry<K, V> {
|
||||
override fun hashCode(): Int = 0
|
||||
override fun equals(other: Any?): Boolean = false
|
||||
override fun getKey(): K = throw UnsupportedOperationException()
|
||||
override fun getValue(): V = throw UnsupportedOperationException()
|
||||
override val key: K get() = throw UnsupportedOperationException()
|
||||
override val value: V get() = throw UnsupportedOperationException()
|
||||
|
||||
public fun setValue(value: V): V = value
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user