Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for mergeOnly (0.18 sec)

  1. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/KotlinCompositeProviderFactory.kt

     * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
     */
    
    package org.jetbrains.kotlin.analysis.api.platform
    
    import org.jetbrains.kotlin.analysis.api.platform.utils.mergeOnly
    
    /**
     * [KotlinCompositeProviderFactory] is used by various [KotlinCompositeProvider]s to share code related to provider creation and flattening.
     */
    public class KotlinCompositeProviderFactory<P : KotlinComposableProvider>(
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/utils/SublistMerger.kt

        }
    }
    
    public fun <A : Any> List<A>.mergeWith(f: SublistMerger<A>.() -> Unit): List<A> =
        mutableListOf<A>().also { destination -> mergeInto(destination, f) }
    
    public inline fun <A : Any, reified R : A> List<A>.mergeOnly(crossinline create: (List<R>) -> A?): List<A> =
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top