Package com.ibm.wala.util.intset
Interface MutableLongSet
- All Superinterfaces:
LongSet
- All Known Implementing Classes:
MutableSparseLongSet
-
Method Summary
Modifier and TypeMethodDescriptionbooleanadd(long i) Add an integer value to this set.booleanAdd all members of set to this.voidSet the value of this to be the same as the value of setvoidintersectWith(LongSet set) Interset this with another set.voidremove(long i) Remove an integer from this set.Methods inherited from interface com.ibm.wala.util.intset.LongSet
contains, containsAny, foreach, foreachExcluding, intersection, isEmpty, isSubset, longIterator, max, sameValue, size
-
Method Details
-
copySet
Set the value of this to be the same as the value of set -
addAll
Add all members of set to this.- Returns:
- true iff the value of this changes.
-
add
boolean add(long i) Add an integer value to this set.- Returns:
- true iff the value of this changes.
-
remove
void remove(long i) Remove an integer from this set. -
intersectWith
Interset this with another set.
-