ArtifactCollection
遗产: java.lang.Object
所有已实现的接口: com.aspose.ms.System.Collections.Generic.IGenericCollection
public class ArtifactCollection implements System.Collections.Generic.IGenericCollection<Artifact>
类代表工件集合。
方法
| 方法 | 描述 |
|---|---|
| add(Artifact artifact) | 将工件添加到集合中。 |
| addItem(Artifact artifact) | |
| clear() | 尚不支持。 |
| containsItem(Artifact artifact) | 尚不支持。 |
| copyToTArray(Artifact[] artifacts, int i) | C 将工件复制到数组中。 |
| delete(Artifact artifact) | 删除指定的工件。 |
| delete(int index) | 按索引删除工件。 |
| equals(Object arg0) | |
| findByValue(String name, String expectedValue) | 按自定义值查找工件。 |
| getClass() | |
| getSyncRoot() | 获取集合的同步对象。 |
| get_Item(int index) | 按索引获取工件。 |
| hashCode() | |
| isReadOnly() | 获取集合是否为只读。 |
| isSynchronized() | 这个对象是否同步。 |
| iterator() | 获取集合的枚举器。 |
| iterator_Rename_Namesake() | 仅供内部使用。 |
| notify() | |
| notifyAll() | |
| remove(Artifact item) | 删除指定的工件。 |
| removeItem(Artifact artifact) | 尚不支持。 |
| size() | 获取集合中的工件数。 |
| toString() | |
| update(Artifact artifact) | 更新集合中的工件。 |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
add(Artifact artifact)
public void add(Artifact artifact)
将工件添加到集合中。
*
参数:
| 范围 | 类型 | 描述 |
|---|---|---|
| artifact | Artifact | 应该添加到收藏中的工件。 |
addItem(Artifact artifact)
public void addItem(Artifact artifact)
参数:
| 范围 | 类型 | 描述 |
|---|---|---|
| artifact | Artifact |
clear()
public void clear()
尚不支持。
清除集合。不支持方法。
containsItem(Artifact artifact)
public boolean containsItem(Artifact artifact)
尚不支持。
参数:
| 范围 | 类型 | 描述 |
|---|---|---|
| artifact | Artifact | 尚不支持。 |
退货: 布尔值 - 尚不支持。
copyToTArray(Artifact[] artifacts, int i)
public void copyToTArray(Artifact[] artifacts, int i)
C 将工件复制到数组中。
参数:
| 范围 | 类型 | 描述 |
|---|---|---|
| artifacts | 人工制品[] | Artifact[实例 |
| i | int | 整数值 |
delete(Artifact artifact)
public void delete(Artifact artifact)
删除指定的工件。
参数:
| 范围 | 类型 | 描述 |
|---|---|---|
| artifact | Artifact | 价值 |
delete(int index)
public void delete(int index)
按索引删除工件。
参数:
| 范围 | 类型 | 描述 |
|---|---|---|
| index | int | 要删除的工件的索引。 |
equals(Object arg0)
public boolean equals(Object arg0)
参数:
| 范围 | 类型 | 描述 |
|---|---|---|
| arg0 | java.lang.Object |
退货: 布尔值
findByValue(String name, String expectedValue)
public List<Artifact> findByValue(String name, String expectedValue)
按自定义值查找工件。
参数:
| 范围 | 类型 | 描述 |
|---|---|---|
| name | java.lang.String | 自定义值的名称。 |
| expectedValue | java.lang.String | 寻找价值。 |
退货: java.util.List<com.aspose.pdf.Artifact> - 找到的工件列表。
getClass()
public final native Class<?> getClass()
退货: java.lang.Class
getSyncRoot()
public Object getSyncRoot()
获取集合的同步对象。
退货: java.lang.Object - 同步对象
get_Item(int index)
public Artifact get_Item(int index)
按索引获取工件。索引从1开始。
参数:
| 范围 | 类型 | 描述 |
|---|---|---|
| index | int | 工件的索引。 |
退货: Artifact - 页面上的工件。
hashCode()
public native int hashCode()
退货: 整数
isReadOnly()
public boolean isReadOnly()
获取集合是否为只读。总是返回错误。
退货: 布尔值
isSynchronized()
public boolean isSynchronized()
这个对象是否同步。
退货: boolean - 布尔值
iterator()
public System.Collections.Generic.IGenericEnumerator<Artifact> iterator()
获取集合的枚举器。
退货: com.aspose.ms.System.Collections.Generic.IGenericEnumerator<com.aspose.pdf.Artifact> - 枚举器对象。
iterator_Rename_Namesake()
public System.Collections.IEnumerator iterator_Rename_Namesake()
仅供内部使用。
获取集合的枚举器。
退货: com.aspose.ms.System.Collections.IEnumerator - 枚举器对象。
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
remove(Artifact item)
public boolean remove(Artifact item)
删除指定的工件。
参数:
| 范围 | 类型 | 描述 |
|---|---|---|
| item | Artifact | 将被删除的工件。 |
退货: boolean - 布尔值
removeItem(Artifact artifact)
public boolean removeItem(Artifact artifact)
尚不支持。
参数:
| 范围 | 类型 | 描述 |
|---|---|---|
| artifact | Artifact | 尚不支持。 |
退货: 布尔值 - 尚不支持。
size()
public int size()
获取集合中的工件数。
退货: int - 整数值
toString()
public String toString()
退货: java.lang.字符串
update(Artifact artifact)
public void update(Artifact artifact)
更新集合中的工件。
参数:
| 范围 | 类型 | 描述 |
|---|---|---|
| artifact | Artifact | 待更新的工件。 |
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
参数:
| 范围 | 类型 | 描述 |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
参数:
| 范围 | 类型 | 描述 |
|---|---|---|
| arg0 | long | |
| arg1 | int |