ArrayListAdapter

ArrayListAdapter

概述

ArrayListAdapter 是 Aspose.3D FOSS 中用于 Java 的一个类。继承自:List<T>。

此类提供 23 个方法,用于在 Java 程序中处理 ArrayListAdapter 对象。可用的方法包括:add、addAll、clear、contains、containsAll、get、indexOf、isEmpty、iterator、lastIndexOf、listIterator、remove,以及另外 6 个方法。安装 Aspose.3D FOSS for Java 包后,所有公共成员对任何 Java 应用程序均可访问。属性:empty。

属性

名称类型访问描述
emptyboolean读取获取空的。

方法

签名描述
size() → int在此 ArrayListAdapter 实例上调用 size。
isEmpty() → boolean如果 empty 已被设置,则返回 true。
contains(o: Object) → boolean在此 ArrayListAdapter 实例上调用 contains(o)。
get(index: int) → T在此 ArrayListAdapter 实例上调用 get(index)。
indexOf(o: Object) → int在此 ArrayListAdapter 实例上调用 indexOf(o)。
lastIndexOf(o: Object) → int在此 ArrayListAdapter 实例上调用 lastIndexOf(o)。
toArray() → Object[]对该 ArrayListAdapter 实例调用 toArray。
toArray(a: T1[]) → T1[]对该 ArrayListAdapter 实例调用 toArray(a)。
add(t: T) → boolean对该 ArrayListAdapter 实例调用 add(t)。
add(index: int, element: T)在此 ArrayListAdapter 实例上调用 add(index, element)。
remove(index: int) → T在此 ArrayListAdapter 实例上调用 remove(index)。
remove(o: Object) → boolean对此 ArrayListAdapter 实例调用 remove(o)。
containsAll(c: Collection<?>) → boolean对此 ArrayListAdapter 实例调用 containsAll(c)。
addAll(c: Collection<? extends T>) → boolean对此 ArrayListAdapter 实例调用 addAll(c)。
addAll(index: int, c: Collection<? extends T>) → boolean在此 ArrayListAdapter 实例上调用 addAll(index, c)。
removeAll(c: Collection<?>) → boolean在此 ArrayListAdapter 实例上调用 removeAll(c)。
retainAll(c: Collection<?>) → boolean在此 ArrayListAdapter 实例上调用 retainAll(c)。
clear()在此 ArrayListAdapter 实例上调用 clear。
subList(fromIndex: int, toIndex: int) → List<T>在此 ArrayListAdapter 实例上调用 subList(fromIndex, toIndex)。
listIterator() → ListIterator<T>在此 ArrayListAdapter 实例上调用 listIterator。
listIterator(index: int) → ListIterator<T>在此 ArrayListAdapter 实例上调用 listIterator(index)。
iterator() → Iterator<T>在此 ArrayListAdapter 实例上调用 iterator。
set(index: int, element: T) → T在此 ArrayListAdapter 实例上调用 set(index, element)。

另请参阅

 中文