is function is not available yet for Java users.</p><p class="paragraph">Please note that changes made to the original map will not be reflected on the resulting <a href="../index.html">NotEmptyMap</a>.</p><div class="sample-container"><pre><code class="block lang-kotlin" theme="idea">val original: MutableMap&lt;Char, Int&gt; = mutableMapOf('a' to 1, 'b' to 2)<br>val notEmptyMap: NotEmptyMap&lt;Char, Int&gt; = NotEmptyMap.create(original)<br>assertEquals(expected = "$original", actual = "$notEmptyMap")<br>o