ArrayListAdapter
Overview
ArrayListAdapter is a class in Aspose.3D FOSS for Python.
Adapter class that wraps List[T] and implements IArrayList[T].
This class declares 19 methods for ArrayListAdapter objects in Python programs.
Available methods include: __add__, __contains__, __getitem__, __init__, __iter__, __len__, __mul__, __repr__, __rmul__, __setitem__, add, add_range, and 7 additional methods.
Public members are accessible to any Python application after installing the Aspose.3D FOSS for Python package.
Methods
| Signature | Description |
|---|---|
__init__(data: List[T]) | Calls init(data) on this ArrayListAdapter instance. |
__getitem__(index) | Calls getitem(index) on this ArrayListAdapter instance. |
__setitem__(index, value) | Calls setitem(index, value) on this ArrayListAdapter instance. |
__len__() | Calls len on this ArrayListAdapter instance. |
__iter__() → Iterator[T] | Calls iter on this ArrayListAdapter instance. |
__contains__(item) | Calls contains(item) on this ArrayListAdapter instance. |
__repr__() | Calls repr on this ArrayListAdapter instance. |
add(item: T) | Calls add(item) on this ArrayListAdapter instance. |
append(item: T) | Calls append(item) on this ArrayListAdapter instance. |
clear() | Calls clear on this ArrayListAdapter instance. |
remove(item: T) → bool | Calls remove(item) on this ArrayListAdapter instance. |
insert(index: int, item: T) | Calls insert(index, item) on this ArrayListAdapter instance. |
remove_at(index: int) | Calls remove_at(index) on this ArrayListAdapter instance. |
index_of(item: T) → int | Calls index_of(item) on this ArrayListAdapter instance. |
to_array() → List[T] | Calls to_array on this ArrayListAdapter instance. |
add_range(collection) | Calls add_range(collection) on this ArrayListAdapter instance. |
__add__(other) | Calls add(other) on this ArrayListAdapter instance. |
__mul__(other) | Calls mul(other) on this ArrayListAdapter instance. |
__rmul__(other) | Calls rmul(other) on this ArrayListAdapter instance. |