minus

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

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

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


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

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

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


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

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

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


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

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

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


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

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

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


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

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

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


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

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

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


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

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

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