
**Inheritance:**
java.lang.Object, java.util.AbstractCollection, java.util.AbstractList, com.aspose.tasks.AbstractList
```
public class OutlineCodeCollection extends AbstractList<OutlineCode>
```

Represents a collection of [OutlineCode](../../com.aspose.tasks/outlinecode) objects.
## Methods

| Method | Description |
| --- | --- |
| [add(OutlineCode item)](#add-com.aspose.tasks.OutlineCode-) |  |
| [get(int index)](#get-int-) |  |
| [iterator()](#iterator--) |  |
| [set(int index, OutlineCode item)](#set-int-com.aspose.tasks.OutlineCode-) |  |
| [size()](#size--) |  |
### add(OutlineCode item) {#add-com.aspose.tasks.OutlineCode-}
```
public boolean add(OutlineCode item)
```




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

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




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

**Returns:**
[OutlineCode](../../com.aspose.tasks/outlinecode)
### iterator() {#iterator--}
```
public Iterator<OutlineCode> iterator()
```




**Returns:**
java.util.Iterator&lt;com.aspose.tasks.OutlineCode&gt;
### set(int index, OutlineCode item) {#set-int-com.aspose.tasks.OutlineCode-}
```
public OutlineCode set(int index, OutlineCode item)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| index | int |  |
| item | [OutlineCode](../../com.aspose.tasks/outlinecode) |  |

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




**Returns:**
int
