Package com.ibm.wala.util.intset
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
Constructors -
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, removeAllMethods 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, unionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
getExpansionFactorin classMutableSparseIntSet
-
getInitialNonEmptySize
public int getInitialNonEmptySize()- Overrides:
getInitialNonEmptySizein classMutableSparseIntSet
-