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, removeAlladd, contains, containsAny, containsAny, diff, diffInternal, elementAt, foreach, foreachExcluding, getIndex, intersection, intIterator, isEmpty, isSubset, max, pair, parseIntArray, sameValue, singleton, size, toIntArray, toString, unionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcontains, containsAny, foreach, foreachExcluding, intersection, intIterator, isEmpty, isSubset, max, sameValue, size, unionpublic TunedMutableSparseIntSet(int initialSize,
float expansion)
throws IllegalArgumentException
IllegalArgumentExceptionpublic float getExpansionFactor()
getExpansionFactor in class MutableSparseIntSetpublic int getInitialNonEmptySize()
getInitialNonEmptySize in class MutableSparseIntSet