Skip to content
FutureBlitz

    Install

    Import std.collections.map

    Map

    std.collections.map

    extend

    Extend Map<K, V> Implements Equatable

    Compares Maps with == and !=, where their values can be compared.

    std/collections/map.fb, line 446

    • Operator ==(a: Map<K, V>, b: Map<K, V>): Bool operator #

      Whether the two have the same keys, each with an equal value, whatever order they were added in.

    extend

    Extend Map<K, V> Implements Hashable

    Hashes a Map, where its keys and values can be hashed, so it can be a Map's key or a Set's value.

    std/collections/map.fb, line 464

    • Public Method Hash(): UInt64 method #

      A hash of its entries, whatever order they were added in, which Maps that are equal share.

    extend

    Extend Map<K, V> Implements Printable

    Shows a Map in a string, as its ToString writes it.

    std/collections/map.fb, line 479

    • Public Method ToString(): String method #

      Its entries, in order, as "{a: 1, b: 2}".

    Report an issue with this page or with FutureBlitz on GitHub.