public class TunedMutableSparseIntSet extends MutableSparseIntSet
MutableSparseIntSet
that allows for tuning of its initial size and expansion factor.elements, size
Constructor and Description |
---|
TunedMutableSparseIntSet(int initialSize,
float expansion) |
Modifier and Type | Method and Description |
---|---|
float |
getExpansionFactor() |
int |
getInitialNonEmptySize() |
add, addAll, addAll, addAllInIntersection, clear, copySet, createMutableSparseIntSet, diff, intersectWith, intersectWith, make, makeEmpty, remove, removeAll, removeAll, removeAll
add, contains, containsAny, containsAny, diff, diffInternal, elementAt, foreach, foreachExcluding, getIndex, intersection, intIterator, isEmpty, isSubset, max, pair, parseIntArray, sameValue, singleton, size, toIntArray, toString, union
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
contains, containsAny, foreach, foreachExcluding, intersection, intIterator, isEmpty, isSubset, max, sameValue, size, union
public TunedMutableSparseIntSet(int initialSize, float expansion) throws IllegalArgumentException
IllegalArgumentException
public float getExpansionFactor()
getExpansionFactor
in class MutableSparseIntSet
public int getInitialNonEmptySize()
getInitialNonEmptySize
in class MutableSparseIntSet