ArrayListAdapter
סקירה כללית
ArrayListAdapter היא מחלקה ב־Aspose.3D FOSS עבור Python.
מחלקת מתאם העוטפת List[T] ומיישמת IArrayList[T].
מחלקה זו מצהירה על 10 שיטות עבור עצמים ArrayListAdapter בתוכניות Python. השיטות הזמינות כוללות: __init__, add, add_range, append, clear, index_of, insert, remove, remove_at, to_array. כל החברים הציבוריים נגישים לכל יישום Python לאחר התקנת חבילת Aspose.3D FOSS עבור Python package.
שיטות
| חתימה | תיאור |
|---|---|
__init__(data: List[T]) | Calls init(data) על מופע זה של ArrayListAdapter. |
add(item: T) | קורא ל-add(item) על מופע זה של ArrayListAdapter. |
append(item: T) | קורא ל-append(item) על מופע זה של ArrayListAdapter. |
clear() | קורא ל-clear על מופע זה של ArrayListAdapter. |
remove(item: T) → bool | קורא ל-remove(item) על מופע ArrayListAdapter זה. |
insert(index: int, item: T) | קורא ל-insert(index, item) על מופע ArrayListAdapter זה. |
remove_at(index: int) | קורא ל-remove_at(index) על מופע ArrayListAdapter זה. |
index_of(item: T) → int | קורא ל-index_of(item) על מופע ArrayListAdapter זה. |
to_array() → List[T] | קורא ל-to_array על מופע ArrayListAdapter זה. |
add_range(collection) | קורא ל-add_range(collection) על מופע ArrayListAdapter זה. |