Sets<E> extension
Provides functions for working with Sets.
- on
-
- Set<
E>
- Set<
Methods
-
replaceAll(
void function(bool replace(E element), E element)) → void -
Available on Set<
Replaces elements usingE> , provided by the Sets extensionfunction
. -
toggle(
E element) → void -
Available on Set<
Adds theE> , provided by the Sets extensionelement
to the set if it is not in the set, removes theelement
if it is in the set.