
**遗产：**
java.lang.Object

**所有已实现的接口：**
java.lang.Iterable
```
public class GeneralFormatCollection implements Iterable
```

表示通用格式的类型化集合。

要了解更多信息，请访问**Working with Fields**文档文章。
## 方法

| 方法 | 描述 |
| --- | --- |
| [add(int item)](#add-int-) |  |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [get(int index)](#get-int-) | 获取指定索引处的通用格式。 |
| [getClass()](#getClass--) |  |
| [getCount()](#getCount--) | 获取集合中项目的总数。 |
| [hashCode()](#hashCode--) |  |
| [iterator()](#iterator--) | 返回一个枚举器对象。 |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [remove(int item)](#remove-int-) |  |
| [removeAt(int index)](#removeAt-int-) | 删除指定索引处的一般格式出现。 |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### add(int item) {#add-int-}
```
public void add(int item)
```




**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| item | int |  |

### equals(Object arg0) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| arg0 | java.lang.Object |  |

**退货：**
布尔值
### get(int index) {#get-int-}
```
public int get(int index)
```


获取指定索引处的通用格式。

**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| index | int | 通用格式的索引。 |

**退货：**
 int - 通用格式。返回值是其中之一[GeneralFormat](../../com.aspose.words/generalformat)常数。
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**退货：**
java.lang.Class<?>
### getCount() {#getCount--}
```
public int getCount()
```


获取集合中项目的总数。

**退货：**
int - 集合中项目的总数。
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**退货：**
整数
### iterator() {#iterator--}
```
public Iterator iterator()
```


返回一个枚举器对象。

**退货：**
java.util.迭代器
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### remove(int item) {#remove-int-}
```
public void remove(int item)
```




**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| item | int |  |

### removeAt(int index) {#removeAt-int-}
```
public void removeAt(int index)
```


删除指定索引处的一般格式出现。

**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| index | int |  |

### toString() {#toString--}
```
public String toString()
```




**退货：**
java.lang.字符串
### wait() {#wait--}
```
public final void wait()
```




### wait(long arg0) {#wait-long-}
```
public final native void wait(long arg0)
```




**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| arg0 | long |  |

### wait(long arg0, int arg1) {#wait-long-int-}
```
public final void wait(long arg0, int arg1)
```




**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |
