Skip to content
FutureBlitz

    Install

    Import std.collections.view

    ArrayView

    std.collections.view

    class

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

    Part of an array, whose elements it reads and sets in place, counting from its own start. Its Count is the part's own, which stays as the array changes, and an element the array no longer has panics.

    std/collections/view.fb, line 78

    • Public Property Count: Int property #

      How many elements it shows.

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

      The element at index, from 0 to Count minus 1.

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

      Gives the element at index, from 0 to Count minus 1, a new value, in the array.

    • @PanicsAtCaller Public Method View(start: Int, finish: Int): ArrayView<T> method #

      Part of this view, from start up to finish, without the one at finish.

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

      The elements, in a new array.

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

      The elements, in order.

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