shadow:standard@CanIndexNullable<long,T>, shadow:standard@CanIndexStoreNullable<long,T>, shadow:standard@CanIterateNullable<T>
abstract locked class ArrayNullable<T>
Class ArrayNullable<T>
is used to house the methods for nullable array objects. The use of NullableArray<T>
is handled by the compiler. Users should avoid using the NullableArray<T>
type explicitly. In this implementation, most methods of NullableArray<T>
are implemented as aliases to the parallel method in Array<T>
, since the mechanics differ in only a few cases.
Modifiers | Return Types | Method and Description |
---|---|---|
public |
() |
destroy() |
Modifiers | Return Types | Method and Description |
---|---|---|
public readonly |
(ArrayNullable<T>) |
copy(AddressMap addresses) |
public readonly locked |
(nullable T) |
index(long index) |
public locked |
() |
index(long index, nullable T value) |
public locked |
(boolean) |
isNullable() |
public readonly locked |
(IteratorNullable<T>) |
iterator() Gets iterator that can iterate over all the elements of the array. |
public readonly locked |
(ArrayNullable<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() |
public destroy() => ()
public readonly copy(AddressMap addresses) => (ArrayNullable<T>)
public readonly locked index(long index) => (nullable T)
public locked index(long index, nullable T value) => ()
public locked isNullable() => (boolean)
public readonly locked iterator() => (IteratorNullable<T>)
Gets iterator that can iterate over all the elements of the array.
iterator
public readonly locked subarray(long start, long end) => (ArrayNullable<T>)
public readonly locked toString() => (String)
Gets formatted String
representation of the array.
String
representation