Documentation / dataflow-async / com.femastudios.dataflow.async.extensions / kotlin.collections.Set
Go to reference

Extensions for kotlin.collections.Set

contains

Same as contains, but accepts Attribute and returns a new Attribute.

fun <E> Set<E>.contains(element: Attribute<E>): Attribute<Boolean>

containsAll

Same as containsAll, but accepts Attribute and returns a new Attribute.

fun <E> Set<E>.containsAll(elements: Attribute<Collection<E>>): Attribute<Boolean>

minus

Same as minus, but accepts Attribute and returns a new Attribute.

operator fun <T> Set<T>.minus(elements: Attribute<Array<out T>>): Attribute<Set<T>>
operator fun <T> Set<T>.minus(element: Attribute<T>): Attribute<Set<T>>
operator fun <T> Set<T>.minus(elements: Attribute<Sequence<T>>): Attribute<Set<T>>
operator fun <T> Set<T>.minus(elements: Attribute<Iterable<T>>): Attribute<Set<T>>

plus

Same as plus, but accepts Attribute and returns a new Attribute.

operator fun <T> Set<T>.plus(elements: Attribute<Array<out T>>): Attribute<Set<T>>
operator fun <T> Set<T>.plus(element: Attribute<T>): Attribute<Set<T>>
operator fun <T> Set<T>.plus(elements: Attribute<Sequence<T>>): Attribute<Set<T>>
operator fun <T> Set<T>.plus(elements: Attribute<Iterable<T>>): Attribute<Set<T>>