INNER CODE UNIT · Kotlin
cachedHashCode
kosi-libs/Kodein · kodein-di/src/commonMain/kotlin/org/kodein/di/DI.kt:103
cachedHashCode = 29 * type.hashCode()
cachedHashCode = 23 * cachedHashCode + (tag?.hashCode() ?: 0)
}
return cachedHashCode
}
/**
* @return The [description]
*/
override fun toString(): String = description
/**
* Right part of the description string.
*
* @param displayString a function that gets the display string for a type.
*/
private fun StringBuilder.appendDescription(displayString: TypeToken<*>.() -> String) {
if (tag != null) {