Performs an atomic read of the index
th element of array
.
Performs an atomic read of the index
th element of array
. If an
atomic block is active (see Txn.findCurrent
) then the read will be
performed as part of the transaction, otherwise it will act as if it
was performed inside a new atomic block.
Returns a sequence of Ref.View
that are backed by the elements of
array
.
Returns a sequence of Ref.View
that are backed by the elements of
array
. All operations on the contained Ref.View
s are supported.
The TArray
from which this view was created.
Performs an atomic write of the index
th element of array
.
Performs an atomic write of the index
th element of array
. If an
atomic block is active (see Txn.findCurrent
) then the write will be
performed as part of the transaction, otherwise it will act as if it
was performed inside a new atomic block.
(Changed in version 2.9.0) The behavior of scanRight
has changed. The previous behavior can be reproduced with scanRight.reverse.
(Changed in version 2.9.0) transpose
throws an IllegalArgumentException
if collections are not uniformly sized.
A view that supports accesses to a
TArray
instance outside the static scope of aTxn
.TArray.View
is toTArray
asRef.View
is toRef
.