

These turn maps into partial functions from keys to values.

They are summarized in the following table and fall into the following categories: The fundamental operations on maps are similar to those on sets. Scala’s Predef object offers an implicit conversion that lets you write key -> value as an alternate syntax for the pair (key, value).

Info: JavaScript is currently disabled, code tabs will still work,Ī Map is an Iterable consisting of pairs of keys and values (also named mappings or associations).
