implementation("it.czerwinski:kotlin-util:2.0.0")
implementation 'it.czerwinski:kotlin-util:2.0.0'
<dependency>
<groupId>it.czerwinski</groupId>
<artifactId>kotlin-util</artifactId>
<version>2.0.0</version>
</dependency>
In multiplatform projects, the library can be used as commonMain
dependency.
In projects using Java Modules (JPMS), add the following line
to your module-info.java
:
module your.module {
requires it.czerwinski.kotlin.util;
}
Package it.czerwinski.kotlin.collections
:
EmptyIterator
SingletonIterator
Package it.czerwinski.kotlin.util
:
Option
Either
Try
For a more detailed documentation, visit project website.