(Changed in version 2.8.0) +
creates a new map. Use +=
to add an element to this map and return that map itself.
(Changed in version 2.8.0) +
creates a new map. Use +=
to add an element to this map and return that map itself.
(Changed in version 2.8.0) ++
creates a new map. Use ++=
to add an element to this map and return that map itself.
(Changed in version 2.8.0) -
creates a new map. Use -=
to remove an element from this map and return that map itself.
(Changed in version 2.8.0) -
creates a new map. Use -=
to remove an element from this map and return that map itself.
(Changed in version 2.8.0) --
creates a new map. Use --=
to remove an element from this map and return that map itself.
Get the value for a given row
Get the value for a given row
Get the value for a given row
Get the value for a given row
Get the value for a given row
If the row doesn't exist yet in the hash map, set its value to defaultValue; otherwise, set its value to mergeValue(oldValue).
If the row doesn't exist yet in the hash map, set its value to defaultValue; otherwise, set its value to mergeValue(oldValue).
true if new value was added, false if it was merged and null if the default/merge calls returned null and nothing was done
If the row doesn't exist yet in the hash map, set its value to defaultValue; otherwise, set its value to mergeValue(oldValue).
If the row doesn't exist yet in the hash map, set its value to defaultValue; otherwise, set its value to mergeValue(oldValue).
true if new value was added, false if it was merged and null if the default/merge calls returned null and nothing was done
If the row doesn't exist yet in the hash map, set its value to defaultValue; otherwise, set its value to mergeValue(oldValue).
If the row doesn't exist yet in the hash map, set its value to defaultValue; otherwise, set its value to mergeValue(oldValue).
the newly updated value.
Tests whether this map contains a binding for a row.
Tests whether this map contains a binding for a row.
Tests whether this map contains a binding for a projected row.
Tests whether this map contains a binding for a row.
Tests whether this map contains a binding for a row.
Optionally get the value for a given row
Optionally get the value for a given row
Optionally get the value for a given row
(Changed in version 2.8.0) keys
returns Iterable[A]
rather than Iterator[A]
.
Set the value for a row
Set the value for a row
(Changed in version 2.9.0) The behavior of scanRight
has changed. The previous behavior can be reproduced with scanRight.reverse.
(Changed in version 2.9.0) transpose
throws an IllegalArgumentException
if collections are not uniformly sized.
Set the value for a row given pre-computed hash
Set the value for a row given pre-computed hash
Set the value for a row
Set the value for a row
Set the value for a row
(Changed in version 2.8.0) values
returns Iterable[B]
rather than Iterator[B]
.
A fast hash map implementation for nullable keys. This hash map supports insertions and updates, but not deletions. This map is about as fast as any other hashmap, while using much less space overhead.
Under the hood, it uses the MultiColumnOpenHashSet implementation.