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.
| Modifiers | Return Types | Method and Description |
|---|---|---|
public |
() |
destroy() |
| 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 |
| Modifiers | Return Types | Method and Description |
|---|---|---|
public readonly get locked |
(int) |
size()Gets the size of the array (total number of elements) as an |
public readonly get locked |
(long) |
sizeLong()Gets the size of the array (total number of elements) as a |
public destroy() => ()
public readonly copy(AddressMap addresses) => (Array<T>)
public readonly locked index(long index) => (T)
public locked index(long index, T value) => ()
public readonly locked isNullable() => (boolean)
public readonly locked iterator() => (Iterator<T>)
Gets iterator that can iterate over all the elements of the array.
iterator
public readonly locked toString() => (String)
Gets formatted String representation of the array.
String representation