struct SequenceView
source · line 188public
public struct SequenceView(val size: Long, val elementBody: (Long) -> ValueView)
An indexed lazy sequence observation. Its size and reads follow the underlying inspector's mutation contract.
function element
source · line 192public
public fun element(index: Long): ValueView
Reads the requested zero-based sequence element through the supplied callback.
parameter index
source · line 192public
index: Long
field elementBody
source · line 188public
val elementBody: (Long) -> ValueView
constructor constructor
source · line 188public
constructor(val size: Long, val elementBody: (Long) -> ValueView)
parameter size
source · line 188public
val size: Long
parameter elementBody
source · line 188public
val elementBody: (Long) -> ValueView
field size
source · line 188public
val size: Long
function equals
source · line 188publiccompiler-derived
operator fun equals(other: SequenceView): Boolean
This derived operation is available when each field or payload type supports same-type equality. Required types: Long, (Long) -> ValueView.