Package com.ibm.wala.util.intset
Interface MutableLongSet
-
- All Superinterfaces:
LongSet
- All Known Implementing Classes:
MutableSparseLongSet
public interface MutableLongSet extends LongSet
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanadd(long i)Add an integer value to this set.booleanaddAll(LongSet set)Add all members of set to this.voidcopySet(LongSet set)Set 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 Detail
-
copySet
void copySet(LongSet set)
Set the value of this to be the same as the value of set
-
addAll
boolean addAll(LongSet set)
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
void intersectWith(LongSet set)
Interset this with another set.
-
-