public interface MutableIntSet extends IntSet
IntSet
that can be changed.Modifier and Type | Method and Description |
---|---|
boolean |
add(int i)
Add an integer value to this set.
|
boolean |
addAll(IntSet set)
Add all members of set to this.
|
boolean |
addAllInIntersection(IntSet other,
IntSet filter) |
void |
clear()
remove all elements from this set
|
void |
copySet(IntSet set)
Set the value of this to be the same as the value of set
|
void |
intersectWith(IntSet set)
Intersect this with another set.
|
boolean |
remove(int i)
Remove an integer from this set.
|
contains, containsAny, foreach, foreachExcluding, intersection, intIterator, isEmpty, isSubset, max, sameValue, size, union
void copySet(IntSet set)
boolean addAll(IntSet set)
boolean add(int i)
i
- integer to addboolean remove(int i)
i
- integer to removevoid clear()
void intersectWith(IntSet set)