public class ArtifactCollection extends Object implements com.aspose.ms.System.Collections.Generic.IGenericCollection<Artifact>
| Modifier and Type | Method and Description |
|---|---|
void |
add(Artifact artifact)
Adds artifacts to the collection.
|
void |
addItem(Artifact artifact) |
void |
clear()
Not Supported yet.
|
boolean |
containsItem(Artifact artifact)
Not Supported yet.
|
void |
copyToTArray(Artifact[] artifacts,
int i)
C copy artifacts into array.
|
void |
delete(Artifact artifact)
Deletes specified artifact.
|
void |
delete(int index)
Deletes artifact by its index.
|
List<Artifact> |
findByValue(String name,
String expectedValue)
Finds artifacts by custom value.
|
Artifact |
get_Item(int index)
Gets artifact by index.
|
Object |
getSyncRoot()
Gets synchronization object of the collection.
|
boolean |
isReadOnly()
Gets if collection is readonly.
|
boolean |
isSynchronized()
Is this object synchronized.
|
com.aspose.ms.System.Collections.IEnumerator |
iterator_Rename_Namesake()
For Internal usage only.
|
com.aspose.ms.System.Collections.Generic.IGenericEnumerator<Artifact> |
iterator()
Gets enumerator for the collection.
|
boolean |
remove(Artifact item)
Deletes specified artifact.
|
boolean |
removeItem(Artifact artifact)
Not Supported yet.
|
int |
size()
Gets count of artifacts in collection.
|
void |
update(Artifact artifact)
Update artifact inside the collection.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic boolean isSynchronized()
Is this object synchronized.
public int size()
Gets count of artifacts in collection.
size in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<Artifact>public Object getSyncRoot()
Gets synchronization object of the collection.
public com.aspose.ms.System.Collections.IEnumerator iterator_Rename_Namesake()
Gets enumerator for the collection.
public com.aspose.ms.System.Collections.Generic.IGenericEnumerator<Artifact> iterator()
Gets enumerator for the collection.
public Artifact get_Item(int index)
Gets artifact by index. Index is started from 1.
index - Index of the artifact.public void add(Artifact artifact)
Adds artifacts to the collection.
*artifact - Artifact which should be added to collection.public List<Artifact> findByValue(String name, String expectedValue)
Finds artifacts by custom value.
name - Name of custom value.expectedValue - Value to find.public boolean isReadOnly()
Gets if collection is readonly. Always returns false.
isReadOnly in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<Artifact>public void addItem(Artifact artifact)
addItem in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<Artifact>public void delete(Artifact artifact)
Deletes specified artifact.
artifact - valuepublic void update(Artifact artifact)
Update artifact inside the collection.
artifact - Artifact to be updated.public void delete(int index)
Deletes artifact by its index.
index - Index of artifact to delete.public void clear()
Clears collection. Method is not supported.
clear in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<Artifact>public boolean containsItem(Artifact artifact)
containsItem in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<Artifact>artifact - Not Supported yet.public void copyToTArray(Artifact[] artifacts, int i)
copyToTArray in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<Artifact>artifacts - Artifact[] instancei - int valuepublic boolean removeItem(Artifact artifact)
removeItem in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<Artifact>artifact - Not Supported yet.public boolean remove(Artifact item)
Deletes specified artifact.
item - Artifact which will be deleted.Copyright © 2025 Aspose. All Rights Reserved.