Class TunedMutableSparseIntSet
java.lang.Object
com.ibm.wala.util.intset.SparseIntSet
com.ibm.wala.util.intset.MutableSparseIntSet
com.ibm.wala.util.intset.TunedMutableSparseIntSet
- All Implemented Interfaces:
IntSet
,MutableIntSet
,Serializable
A
MutableSparseIntSet
that allows for tuning of its initial size and expansion factor.- See Also:
-
Field Summary
Fields inherited from class com.ibm.wala.util.intset.SparseIntSet
elements, size
-
Constructor Summary
-
Method Summary
Methods inherited from class com.ibm.wala.util.intset.MutableSparseIntSet
add, addAll, addAll, addAllInIntersection, clear, copySet, createMutableSparseIntSet, diff, intersectWith, intersectWith, make, makeEmpty, remove, removeAll, removeAll, removeAll
Methods inherited from class com.ibm.wala.util.intset.SparseIntSet
add, contains, containsAny, containsAny, diff, diffInternal, elementAt, foreach, foreachExcluding, getIndex, intersection, intIterator, isEmpty, isSubset, max, pair, parseIntArray, sameValue, singleton, size, toIntArray, toString, union
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.ibm.wala.util.intset.IntSet
contains, containsAny, foreach, foreachExcluding, intersection, intIterator, isEmpty, isSubset, max, sameValue, size, union
-
Constructor Details
-
TunedMutableSparseIntSet
- Throws:
IllegalArgumentException
-
-
Method Details
-
getExpansionFactor
public float getExpansionFactor()- Overrides:
getExpansionFactor
in classMutableSparseIntSet
-
getInitialNonEmptySize
public int getInitialNonEmptySize()- Overrides:
getInitialNonEmptySize
in classMutableSparseIntSet
-