Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for newKeySet (0.04 seconds)

  1. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

    )
    
    private class ConcurrentMultiMap<K, V> {
        private val map = ConcurrentHashMap<K, MutableSet<V>>()
    
        fun add(key: K, value: V) =
            map.computeIfAbsent(key, { _ -> ConcurrentHashMap.newKeySet() }).add(value)
    
        fun getOrEmpty(key: K): Set<V> = map[key] ?: emptySet()
    }
    
    abstract class TestFilesCleanupService @Inject constructor(
        private val fileSystemOperations: FileSystemOperations,
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Feb 11 11:05:07 GMT 2026
    - 14.3K bytes
    - Click Count (1)
Back to Top