Skip to content
FutureBlitz

    Install

    Import std.collections.view

    ReadOnlySet

    std.collections.view

    class

    @DebugElements Public Class ReadOnlySet<T: Hashable> Implements Iterable<T>

    A Set to read but not change, which AsReadOnly gives.

    std/collections/view.fb, line 233

    • Public Property Count: Int property #

      How many values it holds.

    • Public Method Contains(value: T): Bool method #

      Whether it holds value.

    • Public Method ToArray(): T[] method #

      The values, in a new array.

    • Public Method ToSet(): Set<T> method #

      The values, in a new Set, which can change.

    • Public Method Iterate(): SetIterator<T> method #

      The Set's values, in order.

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