Adjust testData to isEmpty/key/value transformations

This commit is contained in:
Denis Zharkov
2015-10-09 14:16:51 +03:00
parent 83b680935b
commit 97ed8c83a0
28 changed files with 56 additions and 56 deletions
@@ -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
}