class MutableListInspector
source · line 36public
public class MutableListInspector<T> public constructor(private val element: ValueInspector<T>) : ValueInspector<MutableList<T>>
- Supertype
ValueInspector<MutableList<T>>
Observes a mutable list through an explicit element inspector; it does not freeze or copy the list.
type parameter T
source · line 36public
T
function inspect
source · line 41public
public override fun inspect(value: MutableList<T>): ValueView
- Overrides
inspect· ValueInspector
Creates a lazy sequence view; later element reads can observe mutations.
parameter value
source · line 41public
value: MutableList<T>
constructor constructor
source · line 36public
constructor(private val element: ValueInspector<T>)
parameter element
source · line 36public
private val element: ValueInspector<T>