MutableListCellExtension<T> extension

Provides variants which return MutableCell of the methods provided by ListCellExtension.

on

Properties

first MutableCell<T>

Available on MutableCell<List<T>>, provided by the MutableListCellExtension extension

Returns a cell which evaluates to List.first applied on the value in this cell.
no setter
last MutableCell<T>

Available on MutableCell<List<T>>, provided by the MutableListCellExtension extension

Returns a cell which evaluates to List.last applied on the value in this cell.
no setter
length MutableCell<int>

Available on MutableCell<List<T>>, provided by the MutableListCellExtension extension

Returns a cell which evaluates to List.length applied on the value in this cell.
no setter

Methods

add(T elem) → void

Available on MutableCell<List<T>>, provided by the MutableListCellExtension extension

Add an element at the end of the List held in this cell.
insert(int index, T elem) → void

Available on MutableCell<List<T>>, provided by the MutableListCellExtension extension

Insert an element at the given index in the List held in this cell.
removeAt(int index) → void

Available on MutableCell<List<T>>, provided by the MutableListCellExtension extension

Remove the element at index from the List held in this cell.

Operators

operator [](ValueCell<int> index) MutableCell<T>

Available on MutableCell<List<T>>, provided by the MutableListCellExtension extension

Returns a cell with a value equal to the element at index in the List held in this cell.
operator []=(int index, T elem) → void

Available on MutableCell<List<T>>, provided by the MutableListCellExtension extension

Set the value of element index to elem in the List held in this cell.