ArrayListAdapter

ArrayListAdapter

개요

ArrayListAdapter은(는) Aspose.3D FOSS의 Python용 클래스이다.

List[T]를 래핑하고 IArrayList[T]를 구현하는 어댑터 클래스.

이 클래스는 Python 프로그램에서 ArrayListAdapter 객체를 위해 10개의 메서드를 선언합니다. 사용 가능한 메서드에는 __init__, add, add_range, append, clear, index_of, insert, remove, remove_at, to_array가 포함됩니다. Aspose.3D FOSS for Python 패키지를 설치한 후에는 모든 Python 애플리케이션에서 공개 멤버에 접근할 수 있습니다.

메서드

시그니처설명
__init__(data: List[T])Calls init(data) 이 ArrayListAdapter 인스턴스에서.
add(item: T)이 ArrayListAdapter 인스턴스에서 add(item)를 호출합니다.
append(item: T)이 ArrayListAdapter 인스턴스에서 append(item)를 호출합니다.
clear()이 ArrayListAdapter 인스턴스에서 clear를 호출합니다.
remove(item: T) → bool이 ArrayListAdapter 인스턴스에서 remove(item)를 호출합니다.
insert(index: int, item: T)이 ArrayListAdapter 인스턴스에서 insert(index, item)를 호출합니다.
remove_at(index: int)이 ArrayListAdapter 인스턴스에서 remove_at(index)를 호출합니다.
index_of(item: T) → int이 ArrayListAdapter 인스턴스에서 index_of(item)를 호출합니다.
to_array() → List[T]to_array을(를) 이 ArrayListAdapter 인스턴스에서 호출합니다.
add_range(collection)add_range(collection)을 이 ArrayListAdapter 인스턴스에서 호출합니다.

참조

 한국어