Performs an atomic read of the indexth element of array.
Performs an atomic read of the indexth 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 string representation of the transactional value in this instance for debugging convenience.
Returns a string representation of the transactional value in this
instance for debugging convenience. The Ref reads (and writes)
performed while constructing the result will be discarded before
returning. This method works fine outside a transaction.
If this method is called from within a transaction that is already
doomed (status Txn.Rolledback), a string describing the reason
for the outer transaction's rollback will be returned.
Returns some value that is suitable for examination in a debugger,
or returns a Txn.RollbackCause if called from inside a doomed atomic
block.
Returns some value that is suitable for examination in a debugger,
or returns a Txn.RollbackCause if called from inside a doomed 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.Views are supported.
The TArray from which this view was created.
Performs an atomic write of the indexth element of array.
Performs an atomic write of the indexth 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
TArrayinstance outside the static scope of aTxn.TArray.Viewis toTArrayasRef.Viewis toRef.