Modifier and Type | Method and Description |
---|---|
void |
add(Artifact artifact)
Adds artifacts to the collection.
|
void |
copyTo(com.aspose.ms.System.Array dest,
int index)
Copies colection into an array.
|
void |
delete(Artifact artifact)
Deletes specified artifact.
|
void |
delete(int index)
Removes artifact with specified index.
|
com.aspose.ms.System.Collections.IList |
findByValue(String name,
String expectedValue)
Finds artifacts by custom value.
|
Artifact |
getItem(int index)
Gets artifact by index.
|
Object |
getSyncRoot()
Gets synchronization object of the collection.
|
boolean |
isSynchronized() |
com.aspose.ms.System.Collections.IEnumerator |
iterator()
Gets enumerator for the collection.
|
int |
size()
Gets count of artifacts in collection.
|
void |
update(Artifact artifact) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public boolean isSynchronized()
isSynchronized
in interface com.aspose.ms.System.Collections.ICollection
public int size()
size
in interface com.aspose.ms.System.Collections.ICollection
public Object getSyncRoot()
getSyncRoot
in interface com.aspose.ms.System.Collections.ICollection
public void copyTo(com.aspose.ms.System.Array dest, int index)
copyTo
in interface com.aspose.ms.System.Collections.ICollection
public com.aspose.ms.System.Collections.IEnumerator iterator()
public Artifact getItem(int index)
index
- Index of the artifact.public void add(Artifact artifact)
artifact
- Artifact which sould be added to collection.public com.aspose.ms.System.Collections.IList findByValue(String name, String expectedValue)
Finds artifacts by custom value.
name
- Name of custom value.expectedValue
- Value to find.public void delete(Artifact artifact)
artifact
- Artifact Objectpublic void update(Artifact artifact)
public void delete(int index)
index
- Index of artifactg which must be removed.Copyright © 2020 Aspose. All Rights Reserved.