n <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-iterable/index.html">Iterable</a>.</p><p class="paragraph">Here's a simple usage example:</p><div class="sample-container"><pre><code class="block lang-kotlin" theme="idea">val collection: NotEmptyCollection&lt;Int&gt; = notEmptyListOf(1, 2, 3)<br>println(collection) // [1, 2, 3]<br><br>val list: Iterable&lt;Int&gt; = listOf(1, 2, 3)<br>println("$collection" == "$list") // true</code></pre><span class="top-right-position"><span clas