CustomPartCollection

CustomPartCollection

Overview

CustomPartCollection is a class in Aspose.Words FOSS for Java. Inherits from: Iterable<CustomPart>.

Represents a collection of CustomPart objects.

Edition status of its 9 listed members (a property and its accessor methods are listed separately, overloads once): 9 not yet exercised by a verified example.

This class declares 8 methods for CustomPartCollection objects in Java programs. Available methods include: add, clear, deepClone, get, getCount, iterator, removeAt, set. Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package. Properties: count.

Properties

NameTypeAccessDescription
countintReadGets the number of elements contained in the collection.

Methods

SignatureDescription
getCount() → intGets the number of elements contained in the collection.
get(index: int) → CustomPartGets or sets an item at the specified index.
set(index: int, value: CustomPart)Calls set(index, value) on this CustomPartCollection instance.
iterator() → Iterator<CustomPart>Returns an iterator object that can be used to iterate over all items in the collection.
add(part: CustomPart)Adds an item to the collection.
removeAt(index: int)Removes an item at the specified index.
clear()Removes all elements from the collection.
deepClone() → CustomPartCollectionMakes a deep copy of this collection and its items.

See Also