GeneralFormatCollection
Overview
GeneralFormatCollection is a class in Aspose.Words FOSS for Java.
Inherits from: Iterable<Integer>.
Represents a typed collection of general formats.
Edition status of its 7 listed members (a property and its accessor methods are listed separately, overloads once): 7 not yet exercised by a verified example.
This class declares 6 methods for GeneralFormatCollection objects in Java programs.
Available methods include: add, get, getCount, iterator, remove, removeAt.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.
Properties: count.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
count | int | Read | Gets the total number of the items in the collection. |
Methods
| Signature | Description |
|---|---|
add(item: int) | Adds a general format to the collection. |
remove(item: int) | Removes all occurrences of the specified general format from the collection. |
removeAt(index: int) | Removes a general format occurrence at the specified index. |
getCount() → int | Gets the total number of the items in the collection. |
get(index: int) → int | Gets a general format at the specified index. |
iterator() → Iterator<Integer> | Returns an enumerator object. |