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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
contains, containsAny, foreach, foreachExcluding, intersection, isEmpty, isSubset, longIterator, max, sameValue, size
public MutableSparseLongSet(long[] backingStore)
public MutableSparseLongSet()
public static MutableSparseLongSet make(LongSet set) throws UnimplementedError
UnimplementedError
public static MutableSparseLongSet createMutableSparseLongSet(int initialCapacity)
public void remove(long value)
MutableLongSet
remove
in interface MutableLongSet
public boolean add(long value)
MutableLongSet
add
in interface MutableLongSet
value
- public void copySet(LongSet that) throws UnimplementedError
MutableLongSet
copySet
in interface MutableLongSet
UnimplementedError
- if not ( that instanceof com.ibm.wala.util.intset.SparseLongSet )public void intersectWith(LongSet set)
MutableLongSet
intersectWith
in interface MutableLongSet
public void intersectWith(SparseLongSet set)
public boolean addAll(LongSet set) throws UnimplementedError
addAll
in interface MutableLongSet
UnimplementedError
- if not ( set instanceof com.ibm.wala.util.intset.SparseLongSet )public boolean addAll(SparseLongSet that)
that
-