- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for Hevery (0.15 sec)
-
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/ValidityAwareCachedValue.kt
import org.jetbrains.kotlin.analysis.api.lifetime.assertIsValidAndAccessible import kotlin.properties.ReadOnlyProperty import kotlin.reflect.KProperty /** * Lazy value that guaranties safe publication and checks validity on every access */ internal class ValidityAwareCachedValue<T>( private val token: KtLifetimeToken, init: () -> T ) : ReadOnlyProperty<Any, T> { private val lazyValue = lazy(LazyThreadSafetyMode.PUBLICATION, init)
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Mon Aug 15 09:04:58 GMT 2022 - 1.1K bytes - Viewed (0)