From a21dbf08a897abbd454d6d3f7d08cd6312070ff3 Mon Sep 17 00:00:00 2001 From: Ilya Gorbunov Date: Wed, 28 Jun 2017 01:10:11 +0300 Subject: [PATCH] Reorder values and entries in MutableMap to match docs Also change references to mutable collections in docs. #KT-18670 Fixed --- core/builtins/native/kotlin/Collections.kt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/core/builtins/native/kotlin/Collections.kt b/core/builtins/native/kotlin/Collections.kt index 30f2e650e69..4698b1d6f47 100644 --- a/core/builtins/native/kotlin/Collections.kt +++ b/core/builtins/native/kotlin/Collections.kt @@ -403,20 +403,20 @@ public interface MutableMap : Map { // Views /** - * Returns a mutable [Set] of all keys in this map. + * Returns a [MutableSet] of all keys in this map. */ override val keys: MutableSet /** - * Returns a mutable [Collection] of all values in this map. Note that this collection may contain duplicate values. - */ - override val entries: MutableSet> - - /** - * Returns a mutable [Set] of all key/value pairs in this map. + * Returns a [MutableCollection] of all values in this map. Note that this collection may contain duplicate values. */ override val values: MutableCollection + /** + * Returns a [MutableSet] of all key/value pairs in this map. + */ + override val entries: MutableSet> + /** * Represents a key/value pair held by a [MutableMap]. */