EqHashMap
dotty.tools.dotc.util.EqHashMap
class EqHashMap[Key, Value](initialCapacity: Int, capacityMultiple: Int) extends GenericHashMap[Key, Value]
A specialized implementation of GenericHashMap with identity hash and eq
as comparison.
Attributes
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Attributes
- Definition Classes
Hashcode is identityHashCode left-shifted by 1, so lowest bit is not lost when taking the index.
Hashcode is identityHashCode left-shifted by 1, so lowest bit is not lost when taking the index.
Attributes
Equality, by default eq
, but can be overridden
Equality, by default eq
, but can be overridden
Attributes
Attributes
- Definition Classes
Attributes
- Definition Classes
Inherited methods
Attributes
- Inherited from:
- MutableMap
Attributes
- Inherited from:
- ReadOnlyMap
Remove all elements from this table and set back to initial configuration
Remove all elements from this table and set back to initial configuration
Attributes
- Inherited from:
- GenericHashMap
Attributes
- Inherited from:
- ReadOnlyMap
Attributes
- Inherited from:
- ReadOnlyMap
Attributes
- Inherited from:
- ReadOnlyMap
Attributes
- Inherited from:
- GenericHashMap
Attributes
- Inherited from:
- ReadOnlyMap
Attributes
- Inherited from:
- GenericHashMap
Attributes
- Inherited from:
- GenericHashMap
Attributes
- Inherited from:
- GenericHashMap
The number of elements in the set
Attributes
- Inherited from:
- ReadOnlyMap
Attributes
- Inherited from:
- ReadOnlyMap
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
-
GenericHashMap -> Any
- Inherited from:
- GenericHashMap
Attributes
- Inherited from:
- GenericHashMap
In this article