Searched refs:PersistentCollection (Results 1 – 4 of 4) sorted by relevance
27 internal interface PersistentCollection<out E> : ImmutableCollection<E> { interface34 fun add(element: @UnsafeVariance E): PersistentCollection<E> in add()42 fun addAll(elements: Collection<@UnsafeVariance E>): PersistentCollection<E> in add()50 fun remove(element: @UnsafeVariance E): PersistentCollection<E> in add()60 fun removeAll(elements: Collection<@UnsafeVariance E>): PersistentCollection<E> in add()68 fun removeAll(predicate: (E) -> Boolean): PersistentCollection<E> in add()78 fun retainAll(elements: Collection<@UnsafeVariance E>): PersistentCollection<E> in add()83 fun clear(): PersistentCollection<E> in add()111 fun build(): PersistentCollection<E> in add()
62 internal inline operator fun <E> PersistentCollection<E>.plus(element: E): PersistentCollection<E> … in mutate()70 internal inline operator fun <E> PersistentCollection<E>.minus(element: E): PersistentCollection<E>… in mutate()79 internal operator fun <E> PersistentCollection<E>.plus(elements: Iterable<E>): PersistentCollection… in mutate()88 internal operator fun <E> PersistentCollection<E>.plus(elements: Array<out E>): PersistentCollectio… in plus()97 internal operator fun <E> PersistentCollection<E>.plus(elements: Sequence<E>): PersistentCollection… in plus()109 internal operator fun <E> PersistentCollection<E>.minus(elements: Iterable<E>): PersistentCollectio… in minus()120 internal operator fun <E> PersistentCollection<E>.minus(elements: Array<out E>): PersistentCollecti… in minus()131 internal operator fun <E> PersistentCollection<E>.minus(elements: Sequence<E>): PersistentCollectio… in minus()313 internal infix fun <E> PersistentCollection<E>.intersect(elements: Iterable<E>): PersistentSet<E> in intersect()
29 internal interface PersistentSet<out E> : ImmutableSet<E>, PersistentCollection<E> {103 interface Builder<E>: MutableSet<E>, PersistentCollection.Builder<E> { in add()
62 internal interface PersistentList<out E> : ImmutableList<E>, PersistentCollection<E> {167 interface Builder<E>: MutableList<E>, PersistentCollection.Builder<E> { in add()