public final class MutableSparseLongSet extends SparseLongSet implements MutableLongSet
elements, size| Constructor and Description |
|---|
MutableSparseLongSet() |
MutableSparseLongSet(long[] backingStore) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(long value)
Add an integer value to this set.
|
boolean |
addAll(LongSet set)
Add all elements from another int set.
|
boolean |
addAll(SparseLongSet that)
Add all elements from another int set.
|
void |
copySet(LongSet that)
Set the value of this to be the same as the value of set
|
static MutableSparseLongSet |
createMutableSparseLongSet(int initialCapacity) |
void |
intersectWith(LongSet set)
Interset this with another set.
|
void |
intersectWith(SparseLongSet set) |
static MutableSparseLongSet |
make(LongSet set) |
void |
remove(long value)
Remove an integer from this set.
|
add, contains, containsAny, containsAny, diff, elementAt, foreach, foreachExcluding, getIndex, intersection, isEmpty, isSubset, longIterator, max, pair, parseLongArray, sameValue, singleton, size, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcontains, containsAny, foreach, foreachExcluding, intersection, isEmpty, isSubset, longIterator, max, sameValue, sizepublic MutableSparseLongSet(long[] backingStore)
public MutableSparseLongSet()
public static MutableSparseLongSet make(LongSet set) throws UnimplementedError
UnimplementedErrorpublic static MutableSparseLongSet createMutableSparseLongSet(int initialCapacity)
public void remove(long value)
MutableLongSetremove in interface MutableLongSetpublic boolean add(long value)
MutableLongSetadd in interface MutableLongSetvalue - public void copySet(LongSet that) throws UnimplementedError
MutableLongSetcopySet in interface MutableLongSetUnimplementedError - if not ( that instanceof com.ibm.wala.util.intset.SparseLongSet )public void intersectWith(LongSet set)
MutableLongSetintersectWith in interface MutableLongSetpublic void intersectWith(SparseLongSet set)
public boolean addAll(LongSet set) throws UnimplementedError
addAll in interface MutableLongSetUnimplementedError - if not ( set instanceof com.ibm.wala.util.intset.SparseLongSet )public boolean addAll(SparseLongSet that)
that -