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。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
empty | boolean | 读取 | 获取空的。 |
方法
| 签名 | 描述 |
|---|---|
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)。 |