All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.itangcent.common.utils.KV.kt Maven / Gradle / Ivy

package com.itangcent.common.utils

object KV {

    fun  of(key: K, value: V): LinkedHashMap = linkedMapOf(key to value)

    @Deprecated(
        "use 'of' instead",
        ReplaceWith("of(key, value)", "com.itangcent.common.utils.KV.Companion.of")
    )
    fun  by(key: K, value: V) = of(key, value)

    fun  create() = linkedMapOf()

    fun any() = linkedMapOf()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy