
**Inheritance:**
java.lang.Object, java.util.AbstractCollection, java.util.AbstractList, com.aspose.tasks.AbstractList

**All Implemented Interfaces:**
com.aspose.tasks.IBaselineCollection
```
public class AssignmentBaselineCollection extends AbstractList<AssignmentBaseline> implements IBaselineCollection
```

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

| Method | Description |
| --- | --- |
| [add(AssignmentBaseline item)](#add-com.aspose.tasks.AssignmentBaseline-) | This is the stub implementation of ICollection's Add method, that only throws NotSupportedException |
| [clear()](#clear--) | \{@inheritDoc\} |
| [contains(Object item)](#contains-java.lang.Object-) |  |
| [copyTo(AssignmentBaseline[] array, int arrayIndex)](#copyTo-com.aspose.tasks.AssignmentBaseline---int-) | \{@inheritDoc\} |
| [get(int index)](#get-int-) | (@inheritDoc\} |
| [getBaselineByType(int baselineType)](#getBaselineByType-int-) | Gets the assignment baseline with the specified type. |
| [getByType(int baselineType)](#getByType-int-) | Gets the assignment baseline with the specified type. |
| [getParentAssignment()](#getParentAssignment--) | Gets the parent [ResourceAssignment](../../com.aspose.tasks/resourceassignment) for this collection. |
| [remove(int index)](#remove-int-) | Removes the element at the specified position in this list. |
| [remove(Object item)](#remove-java.lang.Object-) | Removes baseline from this collection. |
| [size()](#size--) | Gets the number of objects contained in this AssignmentBaselineCollection object. |
| [toList()](#toList--) | Converts the AssignmentBaselineCollection object to a list of [AssignmentBaseline](../../com.aspose.tasks/assignmentbaseline) objects. |
### add(AssignmentBaseline item) {#add-com.aspose.tasks.AssignmentBaseline-}
```
public final boolean add(AssignmentBaseline item)
```


This is the stub implementation of ICollection's Add method, that only throws NotSupportedException

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| item | [AssignmentBaseline](../../com.aspose.tasks/assignmentbaseline) | The item to add. |

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




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




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

**Returns:**
boolean
### copyTo(AssignmentBaseline[] array, int arrayIndex) {#copyTo-com.aspose.tasks.AssignmentBaseline---int-}
```
public final void copyTo(AssignmentBaseline[] array, int arrayIndex)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| array | [AssignmentBaseline\[\]](../../com.aspose.tasks/assignmentbaseline) | \{@inheritDoc\} |
| arrayIndex | int | \{@inheritDoc\} |

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


(@inheritDoc\}

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| index | int | \{@inheritDoc\} |

**Returns:**
[AssignmentBaseline](../../com.aspose.tasks/assignmentbaseline) - \{@inheritDoc\}
### getBaselineByType(int baselineType) {#getBaselineByType-int-}
```
public final AssignmentBaseline getBaselineByType(int baselineType)
```


Gets the assignment baseline with the specified type.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| baselineType | int | the specified baseline type. |

**Returns:**
[AssignmentBaseline](../../com.aspose.tasks/assignmentbaseline) - the assignment baseline with the specified type, or `null` if no matching baseline is found.
### getByType(int baselineType) {#getByType-int-}
```
public final AssignmentBaseline getByType(int baselineType)
```


Gets the assignment baseline with the specified type.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| baselineType | int | the specified baseline type. |

**Returns:**
[AssignmentBaseline](../../com.aspose.tasks/assignmentbaseline) - the assignment baseline with the specified type, or `null` if no matching baseline is found.
### getParentAssignment() {#getParentAssignment--}
```
public final ResourceAssignment getParentAssignment()
```


Gets the parent [ResourceAssignment](../../com.aspose.tasks/resourceassignment) for this collection.

**Returns:**
[ResourceAssignment](../../com.aspose.tasks/resourceassignment) - the parent [ResourceAssignment](../../com.aspose.tasks/resourceassignment) for this collection.
### remove(int index) {#remove-int-}
```
public AssignmentBaseline remove(int index)
```


Removes the element at the specified position in this list.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| index | int | \{@inheritDoc\} |

**Returns:**
[AssignmentBaseline](../../com.aspose.tasks/assignmentbaseline) - \{@inheritDoc\}
### remove(Object item) {#remove-java.lang.Object-}
```
public boolean remove(Object item)
```


Removes baseline from this collection.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| item | java.lang.Object | The item to remove. |

**Returns:**
boolean - true if [AssignmentBaseline](../../com.aspose.tasks/assignmentbaseline) instance has been removed successfully; otherwise, false
### size() {#size--}
```
public final int size()
```


Gets the number of objects contained in this AssignmentBaselineCollection object.

**Returns:**
int - the number of objects contained in this AssignmentBaselineCollection object.
### toList() {#toList--}
```
public final List<AssignmentBaseline> toList()
```


Converts the AssignmentBaselineCollection object to a list of [AssignmentBaseline](../../com.aspose.tasks/assignmentbaseline) objects.

**Returns:**
java.util.List&lt;com.aspose.tasks.AssignmentBaseline&gt; - List of [AssignmentBaseline](../../com.aspose.tasks/assignmentbaseline) objects.
