This commit is contained in:
Jobobby04
2020-12-12 12:36:29 -05:00
parent 134f776a86
commit 6f712c7f17
28 changed files with 49 additions and 8 deletions
@@ -131,6 +131,7 @@ private inline class EntryShim<K, V>(private val entry: Map.Entry<K, V>) : FakeM
*/
override val key: K
get() = entry.key
/**
* Returns the value of this key/value pair.
*/
@@ -143,6 +144,7 @@ private inline class PairShim<K, V>(private val pair: Pair<K, V>) : FakeMutableE
* Returns the key of this key/value pair.
*/
override val key: K get() = pair.first
/**
* Returns the value of this key/value pair.
*/
@@ -164,6 +166,7 @@ interface FakeMutableEntry<K, V> : MutableMap.MutableEntry<K, V> {
* Returns the key of this key/value pair.
*/
override val key: K = key
/**
* Returns the value of this key/value pair.
*/