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
 - 
    class GenericHashSet[T]class MutableSet[T]class ReadOnlySet[T]class Objecttrait Matchableclass AnyShow all
 
Members list
Type members
Inherited and Abstract classlikes
Attributes
- Inherited from:
 - GenericHashSet
 - Supertypes
 
Value members
Concrete methods
Add element x to the set
attempts to put x in the Set, if it was not entered before, return true, else return false.
attempts to put x in the Set, if it was not entered before, return true, else return false.
Attributes
- Definition Classes
 
Attributes
- Definition Classes
 
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
- Definition Classes
 
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
- Definition Classes
 
Inherited methods
Attributes
- Inherited from:
 - MutableSet
 
Attributes
- Inherited from:
 - MutableSet
 
Remove element x from the set
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
- Inherited from:
 - GenericHashSet
 
Attributes
- Inherited from:
 - ReadOnlySet
 
Attributes
- Inherited from:
 - ReadOnlySet
 
Attributes
- Inherited from:
 - ReadOnlySet
 
Attributes
- Inherited from:
 - GenericHashSet
 
Attributes
- Inherited from:
 - GenericHashSet
 
The number of elements in the set
Attributes
- Inherited from:
 - ReadOnlySet
 
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
 - 
               
a string representation of the object.
 - Definition Classes
 - 
               GenericHashSet -> Any
 - Inherited from:
 - GenericHashSet