Skip to content

incendium/enum-utils

Repository files navigation

Kotlin - Enum Utils

Maven Central Sonatype Nexus (Snapshots) GitHub

This project is a simple utility library that helps in constructing lookup tables for enums and creating sealed class hierarchies that function similar to enums. The latter can be useful if for maintaining type safety in the event that an unknown value is received, but preserving the value is desirable over converting it to an standardized "UNKNOWN" value.

Installation

Add the following to your gradle.build or gradle.build.kts file:

// build.gradle.kts
dependencies {
    implementation("com.iamincendium.common:enum-utils:0.1.0")
}

Refer to the KDocs for more information on usage.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages