A hash set that allows some privileged protected access to its internals
Value parameters
- capacityMultiple
-
The minimum multiple of capacity relative to used elements. The hash table will be re-sized once the number of elements multiplied by capacityMultiple exceeds the current size of the hash table. However, a table of size up to DenseLimit will be re-sized only once the number of elements reaches the table's size.
- initialCapacity
-
Indicates the initial number of slots in the hash table. The actual number of slots is always a power of 2, so the initial size of the table will be the smallest power of two that is equal or greater than the given
initialCapacity
. Minimum value is 4.
Attributes
- Companion
- object
- Graph
-
- Supertypes
Members list
Type members
Classlikes
Attributes
- Supertypes
Value members
Concrete methods
Remove all elements from this set.
Remove all elements from this set.
Value parameters
- resetToInitial
-
If true, set back to initial configuration, which includes reallocating tables.
Attributes
The entry in the set such that isEqual(x, entry)
, or else null
.
The entry in the set such that isEqual(x, entry)
, or else null
.
Attributes
Like +=
but return existing element equal to x
of it exists, x
itself otherwise.
Like +=
but return existing element equal to x
of it exists, x
itself otherwise.
Attributes
Inherited methods
Attributes
- Inherited from:
- MutableSet
Attributes
- Inherited from:
- MutableSet
Attributes
- Inherited from:
- ReadOnlySet
Attributes
- Inherited from:
- ReadOnlySet
Attributes
- Inherited from:
- ReadOnlySet
Attributes
- Inherited from:
- ReadOnlySet