MutableList[T] interface
implements List[_T]
Indexable
-
__getitem__(self, index: int) -> _T__setitem__(self, index: int, value: _T) -> None
Methods
| __iter__ | (self) -> Iterator |
Inherited from Iterable. |
|
| append | (self, e: _T) -> None | ||
| insert | (self, index: int, e: _T) -> None | ||
| clear | (self) -> None | ||
| __contains__ | (self, e: _T) -> bool |
Inherited from List. |
|
| copy | (self) -> MutableList[_T] |
Inherited from List. |
|
| index | (self, e: _T) -> int |
Inherited from List. |
|
| rindex | (self, e: _T) -> int |
Inherited from List. |
|
| static | of | (e: _T) -> MutableList[_T] | |
| remove | (self, e: _T) -> bool | ||
| pop | (self, index: int) -> _T | ||
| to_array | (self) -> list[_T] |
Inherited from List. |
Properties
| readonly | empty | bool |
Inherited from List. |
| readonly | length | int |
Inherited from List. |