Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 11 of 11 for key2 (0.03 sec)

  1. platforms/core-configuration/stdlib-kotlin-extensions/src/main/kotlin/org/gradle/internal/extensions/stdlib/MapExtensions.kt

    fun <V> Map<String, V>.filterKeysByPrefix(prefix: String): Map<String, V?> =
        filterKeys { key -> key.length > prefix.length && key.startsWith(prefix) }
    
    
    /**
     * Inverts the given map by swapping its keys with their corresponding values and returns the resulting map.
     *
     * If the original map contains duplicate values, the resulting map will map each value to the key associated
     * with the last occurrence of that value in the original map's iteration order.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:59:39 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top