scala.collection.immutable
package scala.collection.immutable
Type members
Classlikes
sealed abstract class OldHashMap[K, +V] extends AbstractMap[K, V] with MapOps[K, V, [K, V] =>> OldHashMap[K, V], OldHashMap[K, V]] with StrictOptimizedIterableOps[(K, V), [A] =>> Iterable[A], OldHashMap[K, V]] with StrictOptimizedMapOps[K, V, [K, V] =>> OldHashMap[K, V], OldHashMap[K, V]] with MapFactoryDefaults[K, V, [K, V] =>> OldHashMap[K, V], [A] =>> Iterable[A]] with Serializable
This class implements immutable maps using a hash trie.
This class implements immutable maps using a hash trie.
'''Note:''' The builder of this hash map may return specialized representations for small maps.
- Type Params
- K
the type of the keys contained in this hash map.
- V
the type of the values associated with the keys.
- See also
"Scala's Collection Library overview" section on
Hash Tries
for more information.- Companion
- object
sealed abstract class OldHashSet[A] extends AbstractSet[A] with SetOps[A, [A] =>> OldHashSet[A], OldHashSet[A]] with StrictOptimizedIterableOps[A, [A] =>> OldHashSet[A], OldHashSet[A]] with IterableFactoryDefaults[A, [A] =>> OldHashSet[A]] with Serializable
This class implements immutable sets using a hash trie.
This class implements immutable sets using a hash trie.
'''Note:''' The builder of this hash set may return specialized representations for small sets.
- Type Params
- A
the type of the elements contained in this hash set.
- Companion
- object