
**Inheritance:**
java.lang.Object

**All Implemented Interfaces:**
java.util.List
```
public class TableFieldCollection implements List<TableField>
```

Contains a list of [TableField](../../com.aspose.tasks/tablefield) objects. Implements IList&lt;TableField&gt; interface.
## Methods

| Method | Description |
| --- | --- |
| [&lt;T&gt;toArray(T[] a)](#-T-toArray-T---) |  |
| [add(TableField item)](#add-com.aspose.tasks.TableField-) |  |
| [add(int index, TableField element)](#add-int-com.aspose.tasks.TableField-) |  |
| [addAll(int index, Collection&lt;? extends TableField&gt; c)](#addAll-int-java.util.Collection---extends-com.aspose.tasks.TableField--) |  |
| [addAll(Collection&lt;? extends TableField&gt; c)](#addAll-java.util.Collection---extends-com.aspose.tasks.TableField--) |  |
| [clear()](#clear--) |  |
| [contains(Object o)](#contains-java.lang.Object-) |  |
| [containsAll(Collection&lt;?&gt; c)](#containsAll-java.util.Collection----) |  |
| [get(int index)](#get-int-) |  |
| [indexOf(TableField item)](#indexOf-com.aspose.tasks.TableField-) | Returns index of the specified item in this collection. |
| [indexOf(Object o)](#indexOf-java.lang.Object-) |  |
| [isEmpty()](#isEmpty--) |  |
| [iterator()](#iterator--) |  |
| [lastIndexOf(Object o)](#lastIndexOf-java.lang.Object-) |  |
| [listIterator()](#listIterator--) |  |
| [listIterator(int index)](#listIterator-int-) |  |
| [remove(int index)](#remove-int-) |  |
| [remove(Object o)](#remove-java.lang.Object-) |  |
| [removeAll(Collection&lt;?&gt; c)](#removeAll-java.util.Collection----) |  |
| [retainAll(Collection&lt;?&gt; c)](#retainAll-java.util.Collection----) |  |
| [set(int index, TableField element)](#set-int-com.aspose.tasks.TableField-) |  |
| [size()](#size--) |  |
| [subList(int fromIndex, int toIndex)](#subList-int-int-) |  |
| [toArray()](#toArray--) |  |
### &lt;T&gt;toArray(T[] a) {#-T-toArray-T---}
```
public T[] <T>toArray(T[] a)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| a | T[] |  |

**Returns:**
T[]
### add(TableField item) {#add-com.aspose.tasks.TableField-}
```
public boolean add(TableField item)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| item | [TableField](../../com.aspose.tasks/tablefield) |  |

**Returns:**
boolean
### add(int index, TableField element) {#add-int-com.aspose.tasks.TableField-}
```
public final void add(int index, TableField element)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| index | int |  |
| element | [TableField](../../com.aspose.tasks/tablefield) |  |

### addAll(int index, Collection&lt;? extends TableField&gt; c) {#addAll-int-java.util.Collection---extends-com.aspose.tasks.TableField--}
```
public boolean addAll(int index, Collection<? extends TableField> c)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| index | int |  |
| c | java.util.Collection&lt;? extends com.aspose.tasks.TableField&gt; |  |

**Returns:**
boolean
### addAll(Collection&lt;? extends TableField&gt; c) {#addAll-java.util.Collection---extends-com.aspose.tasks.TableField--}
```
public boolean addAll(Collection<? extends TableField> c)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| c | java.util.Collection&lt;? extends com.aspose.tasks.TableField&gt; |  |

**Returns:**
boolean
### clear() {#clear--}
```
public void clear()
```




### contains(Object o) {#contains-java.lang.Object-}
```
public boolean contains(Object o)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| o | java.lang.Object |  |

**Returns:**
boolean
### containsAll(Collection&lt;?&gt; c) {#containsAll-java.util.Collection----}
```
public boolean containsAll(Collection<?> c)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| c | java.util.Collection&lt;?&gt; |  |

**Returns:**
boolean
### get(int index) {#get-int-}
```
public TableField get(int index)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| index | int |  |

**Returns:**
[TableField](../../com.aspose.tasks/tablefield)
### indexOf(TableField item) {#indexOf-com.aspose.tasks.TableField-}
```
public int indexOf(TableField item)
```


Returns index of the specified item in this collection.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| item | [TableField](../../com.aspose.tasks/tablefield) | the specified item. |

**Returns:**
int - index of the item.
### indexOf(Object o) {#indexOf-java.lang.Object-}
```
public int indexOf(Object o)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| o | java.lang.Object |  |

**Returns:**
int
### isEmpty() {#isEmpty--}
```
public boolean isEmpty()
```




**Returns:**
boolean
### iterator() {#iterator--}
```
public Iterator<TableField> iterator()
```




**Returns:**
java.util.Iterator&lt;com.aspose.tasks.TableField&gt;
### lastIndexOf(Object o) {#lastIndexOf-java.lang.Object-}
```
public int lastIndexOf(Object o)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| o | java.lang.Object |  |

**Returns:**
int
### listIterator() {#listIterator--}
```
public ListIterator<TableField> listIterator()
```




**Returns:**
java.util.ListIterator&lt;com.aspose.tasks.TableField&gt;
### listIterator(int index) {#listIterator-int-}
```
public ListIterator<TableField> listIterator(int index)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| index | int |  |

**Returns:**
java.util.ListIterator&lt;com.aspose.tasks.TableField&gt;
### remove(int index) {#remove-int-}
```
public TableField remove(int index)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| index | int |  |

**Returns:**
[TableField](../../com.aspose.tasks/tablefield)
### remove(Object o) {#remove-java.lang.Object-}
```
public boolean remove(Object o)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| o | java.lang.Object |  |

**Returns:**
boolean
### removeAll(Collection&lt;?&gt; c) {#removeAll-java.util.Collection----}
```
public boolean removeAll(Collection<?> c)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| c | java.util.Collection&lt;?&gt; |  |

**Returns:**
boolean
### retainAll(Collection&lt;?&gt; c) {#retainAll-java.util.Collection----}
```
public boolean retainAll(Collection<?> c)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| c | java.util.Collection&lt;?&gt; |  |

**Returns:**
boolean
### set(int index, TableField element) {#set-int-com.aspose.tasks.TableField-}
```
public TableField set(int index, TableField element)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| index | int |  |
| element | [TableField](../../com.aspose.tasks/tablefield) |  |

**Returns:**
[TableField](../../com.aspose.tasks/tablefield)
### size() {#size--}
```
public int size()
```




**Returns:**
int
### subList(int fromIndex, int toIndex) {#subList-int-int-}
```
public List<TableField> subList(int fromIndex, int toIndex)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| fromIndex | int |  |
| toIndex | int |  |

**Returns:**
java.util.List&lt;com.aspose.tasks.TableField&gt;
### toArray() {#toArray--}
```
public Object[] toArray()
```




**Returns:**
java.lang.Object[]
