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