Skip to content
FutureBlitz

    Install

    Import std.collections.view

    ReadOnlyArray

    std.collections.view

    class

    @DebugElements Public Class ReadOnlyArray<T> Implements Iterable<T>

    An array to read but not change, which AsReadOnly gives.

    std/collections/view.fb, line 162

    • Public Property Count: Int property #

      How many elements it holds.

    • @PanicsAtCaller Operator [](index: Int): T operator #

      The value at index, which panics outside it.

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

      Whether it holds value.

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

      The elements, in a new array, which can change.

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

      The array's elements, in order.

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