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 SparseIntSet
elements, size -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class MutableSparseIntSet
add, addAll, addAll, addAllInIntersection, clear, copySet, createMutableSparseIntSet, diff, intersectWith, intersectWith, make, makeEmpty, remove, removeAll, removeAll, removeAllMethods inherited from class 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 Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface 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
-