shadow:standard

Class Array<T>

Parent class

shadow:standard@Object

Interfaces

shadow:standard@CanIndex<long,T>, shadow:standard@CanIndexStore<long,T>, shadow:standard@CanIterate<T>

abstract locked class Array<T>

Class Array<T> is used to house methods for array objects. The use of Array<T> is handled by the compiler. Users should avoid using the Array<T> type explicitly.

Destroy Summary

Modifiers Return Types Method and Description
public () destroy()

Method Summary

Modifiers Return Types Method and Description
public readonly (Array<T>) copy(AddressMap addresses)
public readonly locked (T) index(long index)
public locked () index(long index, T value)
public readonly locked (boolean) isNullable()
public readonly locked (Iterator<T>) iterator()

Gets iterator that can iterate over all the elements of the array.

public readonly locked (Array<T>) subarray(long start, long end)
public readonly locked (String) toString()

Gets formatted String representation of the array.

Property Summary

Modifiers Return Types Method and Description
public readonly get locked (int) size()

Gets the size of the array (total number of elements) as an int.

public readonly get locked (long) sizeLong()

Gets the size of the array (total number of elements) as a long.

Destroy Detail

destroy

public destroy() => ()

Method Detail

copy

public readonly copy(AddressMap addresses) => (Array<T>)

index

public readonly locked index(long index) => (T)

index

public locked index(long index, T value) => ()

isNullable

public readonly locked isNullable() => (boolean)

iterator

public readonly locked iterator() => (Iterator<T>)

Gets iterator that can iterate over all the elements of the array.

Returns

iterator

subarray

public readonly locked subarray(long start, long end) => (Array<T>)

toString

public readonly locked toString() => (String)

Gets formatted String representation of the array.

Returns

String representation

Property Detail

size

public readonly get locked size() => (int)

Gets the size of the array (total number of elements) as an int.

Returns

size of array

sizeLong

public readonly get locked sizeLong() => (long)

Gets the size of the array (total number of elements) as a long.

Returns

size of array