PropertyCollection
Overview
PropertyCollection is a class in Aspose.3D FOSS for Java.
Inherits from: Iterable<Property>.
PropertyCollection offers methods to add, remove, find, and iterate over Property objects by name or index.
This class provides 8 methods for working with PropertyCollection objects in Java programs.
Available methods include: add, findProperty, get, iterator, remove, set, size.
All public members are accessible to any Java application after installing the Aspose.3D FOSS for Java package.
Methods
| Signature | Description |
|---|---|
add(property: Property) | Adds the specified Property to the collection |
remove(property: Property) | Removes the specified Property from the collection |
findProperty(name: String) → Property | Returns the Property with the given name or null if not found |
get(name: String) → Object | Returns the value associated with the given property name |
set(name: String, value: Object) | Assigns the given value to the property with the specified name |
iterator() → java.util.Iterator<Property> | Provides an iterator over the Property objects in the collection |
size() → int | Returns the number of Property objects in the collection |
get(idx: int) → Property | Calls get(idx) on this PropertyCollection instance. |