Home
last modified time | relevance | path

Searched refs:ImmutableList (Results 1 – 5 of 5) sorted by relevance

/compose/runtime/runtime/src/commonMain/kotlin/androidx/compose/runtime/external/kotlinx/collections/immutable/
DImmutableList.kt20 internal interface ImmutableList<out E> : List<E>, ImmutableCollection<E> { interface
30 …override fun subList(fromIndex: Int, toIndex: Int): ImmutableList<E> = SubList(this, fromIndex, to… in subList()
32 …s SubList<E>(private val source: ImmutableList<E>, private val fromIndex: Int, private val toIndex… in subList()
48 override fun subList(fromIndex: Int, toIndex: Int): ImmutableList<E> { in subList()
62 internal interface PersistentList<out E> : ImmutableList<E>, PersistentCollection<E> {
Dextensions.kt578 internal fun <T> Iterable<T>.toImmutableList(): ImmutableList<T> = in persistentHashMapOf()
579 this as? ImmutableList in persistentHashMapOf()
585 internal fun <T> Sequence<T>.toImmutableList(): ImmutableList<T> = toPersistentList() in persistentHashMapOf()
590 internal fun CharSequence.toImmutableList(): ImmutableList<Char> = toPersistentList() in persistentHashMapOf()
/compose/runtime/runtime/src/commonMain/kotlin/androidx/compose/runtime/external/kotlinx/collections/immutable/implementations/immutableList/
DAbstractPersistentList.kt8 import androidx.compose.runtime.external.kotlinx.collections.immutable.ImmutableList
13 override fun subList(fromIndex: Int, toIndex: Int): ImmutableList<E> { in subList()
DSmallPersistentVector.kt8 import androidx.compose.runtime.external.kotlinx.collections.immutable.ImmutableList
15 internal class SmallPersistentVector<E>(private val buffer: Array<Any?>) : ImmutableList<E>, Abstra…
/compose/runtime/runtime/src/commonMain/kotlin/androidx/compose/runtime/external/kotlinx/collections/immutable/adapters/
DReadOnlyCollectionAdapters.kt23 internal class ImmutableListAdapter<E>(private val impl: List<E>) : ImmutableList<E>, List<E> by im… in <lambda>()
25 …override fun subList(fromIndex: Int, toIndex: Int): ImmutableList<E> = ImmutableListAdapter(impl.s… in <lambda>()