- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for getOrComputeIfAbsent (0.45 sec)
-
mockwebserver-junit5/src/main/kotlin/mockwebserver3/junit5/internal/MockWebServerExtension.kt
class MockWebServerExtension : BeforeEachCallback, AfterEachCallback, ParameterResolver, BeforeAllCallback, AfterAllCallback { private val ExtensionContext.resource: ServersForTest get() = getStore(namespace).getOrComputeIfAbsent(this.uniqueId) { ServersForTest() } as ServersForTest private class ServersForTest { private val servers = mutableMapOf<String, MockWebServer>() private var started = false
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Feb 11 12:12:36 UTC 2024 - 4.1K bytes - Viewed (0)