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

commonMain.ru.pocketbyte.locolaser.provider.StringProviderSet.kt Maven / Gradle / Ivy

package ru.pocketbyte.locolaser.provider

class StringProviderSet(
    private vararg val providers: StringProvider
) : StringProvider {
    override fun getString(key: String): String {
        for (provider in providers) {
            val string = provider.getString(key)
            if (string != key) {
                return string
            }
        }
        return key
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy