Skip to content
FutureBlitz

    Install

    Import std.collections.interval_tree

    IntervalTree

    std.collections.interval_tree

    extend

    Extend IntervalTree<K, V> Implements Equatable

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

    std/collections/interval_tree.fb, line 349

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

      Whether the two have the same intervals, with equal values in the same order.

    extend

    Extend IntervalTree<K, V> Implements Printable

    Shows an IntervalTree in a string, as its ToString writes it.

    std/collections/interval_tree.fb, line 361

    • Public Method ToString(): String method #

      Its intervals and their values, in order, as an array of tuples: "[(1, 3, a), (2, 5, b)]".

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