plus

@JvmName(name = "iterablePlusElement")
operator fun <T> Provider<Iterable<T>>.plus(element: T): Provider<List<T>>

Creates and returns a new Provider of a List with all elements of the original Iterable and the given element.

The returned provider will only be stored in a WeakReference in the parent provider (this).


@JvmName(name = "iterablePlusElementProvider")
operator fun <T> Provider<Iterable<T>>.plus(element: Provider<T>): Provider<List<T>>

Creates and returns a new Provider of a List with all elements of the original Iterable and the value of element.

The returned provider will only be stored in a WeakReference in the parent provider (this).


@JvmName(name = "iterablePlusIterable")
operator fun <T> Provider<Iterable<T>>.plus(elements: Iterable<T>): Provider<List<T>>

Creates and returns a new Provider of a List with all elements of the original Iterable and the given elements.

The returned provider will only be stored in a WeakReference in the parent provider (this).


@JvmName(name = "iterablePlusIterableProvider")
operator fun <T> Provider<Iterable<T>>.plus(elements: Provider<Iterable<T>>): Provider<List<T>>

Creates and returns a new Provider of a List with all elements of the original Iterable and the values of elements.

The returned provider will only be stored in a WeakReference in the parent provider (this).


@JvmName(name = "setPlusElement")
operator fun <T> Provider<Set<T>>.plus(element: T): Provider<Set<T>>

Creates and returns a new Provider of a Set with all elements of the original Set and the given element.

The returned provider will only be stored in a WeakReference in the parent provider (this).


@JvmName(name = "setPlusElementProvider")
operator fun <T> Provider<Set<T>>.plus(element: Provider<T>): Provider<Set<T>>

Creates and returns a new Provider of a Set with all elements of the original Set and the value of element.

The returned provider will only be stored in a WeakReference in the parent provider (this).


@JvmName(name = "setPlusIterable")
operator fun <T> Provider<Set<T>>.plus(elements: Iterable<T>): Provider<Set<T>>

Creates and returns a new Provider of a Set with all elements of the original Set and the given elements.

The returned provider will only be stored in a WeakReference in the parent provider (this).


@JvmName(name = "setPlusIterableProvider")
operator fun <T> Provider<Set<T>>.plus(elements: Provider<Iterable<T>>): Provider<Set<T>>

Creates and returns a new Provider of a Set with all elements of the original Set and the values of elements.

The returned provider will only be stored in a WeakReference in the parent provider (this).