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

Represents a collection of `DayType` objects.
## Methods

| Method | Description |
| --- | --- |
| [add(Integer item)](#add-java.lang.Integer-) |  |
| [clear()](#clear--) | Removes all items from this collection. |
| [contains(int item)](#contains-int-) | Returns true if the specified item is found in this collection; otherwise, false. |
| [copyTo(Integer[] array, int arrayIndex)](#copyTo-java.lang.Integer---int-) | Copies the elements of this collection to the specified array, starting at the specified array index. |
| [get(int index)](#get-int-) |  |
| [iterator()](#iterator--) |  |
| [remove(int index)](#remove-int-) |  |
| [set(int index, Integer dayType)](#set-int-java.lang.Integer-) |  |
| [size()](#size--) |  |
### add(Integer item) {#add-java.lang.Integer-}
```
public boolean add(Integer item)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| item | java.lang.Integer |  |

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


Removes all items from this collection.

### contains(int item) {#contains-int-}
```
public final boolean contains(int item)
```


Returns true if the specified item is found in this collection; otherwise, false.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| item | int | the specified item to find. |

**Returns:**
boolean - true if the specified item is found in this collection; otherwise, false.
### copyTo(Integer[] array, int arrayIndex) {#copyTo-java.lang.Integer---int-}
```
public void copyTo(Integer[] array, int arrayIndex)
```


Copies the elements of this collection to the specified array, starting at the specified array index.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| array | java.lang.Integer[] | the specified one-dimensional array to copy elements to |
| arrayIndex | int | the zero-based index of the specified array at which copying begins. |

### get(int index) {#get-int-}
```
public Integer get(int index)
```




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

**Returns:**
java.lang.Integer
### iterator() {#iterator--}
```
public Iterator<Integer> iterator()
```




**Returns:**
java.util.Iterator&lt;java.lang.Integer&gt;
### remove(int index) {#remove-int-}
```
public Integer remove(int index)
```




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

**Returns:**
java.lang.Integer
### set(int index, Integer dayType) {#set-int-java.lang.Integer-}
```
public Integer set(int index, Integer dayType)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| index | int |  |
| dayType | java.lang.Integer |  |

**Returns:**
java.lang.Integer
### size() {#size--}
```
public final int size()
```




**Returns:**
int
