 <b>Calling from Kotlin</b>
</summary><p class="paragraph">Here's an example of calling this method from Kotlin code:</p><div class="sample-container"><pre><code class="block lang-kotlin" theme="idea">val integers: NotEmptySet&lt;Int&gt; = NotEmptySet.of(1, 2, 3, 1)<br>assertEquals(expected = "[1, 2, 3]", actual = "$integers")</code></pre><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to 