ObjSetExt<E> extension
Properties
Methods
-
add(
E valueToAdd) → bool -
Available on Obj<
Adds value to the set.Set< , provided by the ObjSetExt extensionE> > -
addAll(
Iterable< E> elements) → void -
Available on Obj<
Adds allSet< , provided by the ObjSetExt extensionE> >elements
to this set. -
cast<
R> () → Set< R> -
Available on Obj<
Provides a view of this set as a set ofSet< , provided by the ObjSetExt extensionE> >R
instances. -
clear(
) → void -
Available on Obj<
Removes all elements from the set.Set< , provided by the ObjSetExt extensionE> > -
contains(
Object? valueToEvaluate) → bool -
Available on Obj<
Whether value is in the set.Set< , provided by the ObjSetExt extensionE> > -
containsAll(
Iterable< Object?> other) → bool -
Available on Obj<
Whether this set contains all the elements ofSet< , provided by the ObjSetExt extensionE> >other
. -
difference(
Set< Object?> other) → Set<E> -
Available on Obj<
Creates a new set with the elements of this that are not inSet< , provided by the ObjSetExt extensionE> >other
. -
intersection(
Set< Object?> other) → Set<E> -
Available on Obj<
Creates a new set which is the intersection between this set andSet< , provided by the ObjSetExt extensionE> >other
. -
lookup(
Object? object) → E? -
Available on Obj<
If an object equal toSet< , provided by the ObjSetExt extensionE> >object
is in the set, return it. -
remove(
Object? valueToRemove) → bool -
Available on Obj<
Removes value from the set.Set< , provided by the ObjSetExt extensionE> > -
removeAll(
Iterable< Object?> elements) → void -
Available on Obj<
Removes each element ofSet< , provided by the ObjSetExt extensionE> >elements
from this set. -
removeWhere(
bool test(E element)) → void -
Available on Obj<
Removes all elements of this set that satisfySet< , provided by the ObjSetExt extensionE> >test
. -
retainAll(
Iterable< Object?> elements) → void -
Available on Obj<
Removes all elements of this set that are not elements inSet< , provided by the ObjSetExt extensionE> >elements
. -
retainWhere(
bool test(E element)) → void -
Available on Obj<
Removes all elements of this set that fail to satisfySet< , provided by the ObjSetExt extensionE> >test
. -
toSet(
) → Set< E> -
Available on Obj<
Creates a Set with the same elements and behavior as thisSet< , provided by the ObjSetExt extensionE> >Set
. -
union(
Set< E> other) → Set<E> -
Available on Obj<
Creates a new set which contains all the elements of this set andSet< , provided by the ObjSetExt extensionE> >other
.