
**Inheritance:**
java.lang.Object, com.aspose.ms.System.Collections.ObjectModel.Collection
```
public class AppointmentCollection extends System.Collections.ObjectModel.Collection<Appointment>
```

Represents a collection of Appointment objects.
## Constructors

| Constructor | Description |
| --- | --- |
| [AppointmentCollection()](#AppointmentCollection--) | Initializes a new instance of the AppointmentCollection class that is empty. |
| [AppointmentCollection(Iterable<Appointment> appointments)](#AppointmentCollection-java.lang.Iterable-com.aspose.email.Appointment--) | Initializes a new instance of the AppointmentCollection class |
## Methods

| Method | Description |
| --- | --- |
| [addItem(T arg0)](#addItem-T-) |  |
| [clear()](#clear--) |  |
| [containsItem(T arg0)](#containsItem-T-) |  |
| [copyToTArray(T[] arg0, int arg1)](#copyToTArray-T---int-) |  |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getClass()](#getClass--) |  |
| [getICollection()](#getICollection--) |  |
| [getIList()](#getIList--) |  |
| [getSyncRoot()](#getSyncRoot--) |  |
| [get_Item(int arg0)](#get-Item-int-) |  |
| [hashCode()](#hashCode--) |  |
| [indexOfItem(T arg0)](#indexOfItem-T-) |  |
| [insertItem(int arg0, T arg1)](#insertItem-int-T-) |  |
| [isReadOnly()](#isReadOnly--) |  |
| [iterator()](#iterator--) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [removeAt(int arg0)](#removeAt-int-) |  |
| [removeItem(T arg0)](#removeItem-T-) |  |
| [set_Item(int arg0, T arg1)](#set-Item-int-T-) |  |
| [size()](#size--) |  |
| [toString()](#toString--) |  |
| [to_(AppointmentCollection appointments)](#to--com.aspose.email.AppointmentCollection-) | Converts collection of appointments to array |
| [to_AppointmentCollection(Appointment[] appointments)](#to-AppointmentCollection-com.aspose.email.Appointment---) | Converts array of appointments to collection |
| [to_AppointmentCollection(System.Collections.Generic.List<Appointment> appointments)](#to-AppointmentCollection-com.aspose.ms.System.Collections.Generic.List-com.aspose.email.Appointment--) | Converts list of appointments to collection |
| [to_List(AppointmentCollection appointments)](#to-List-com.aspose.email.AppointmentCollection-) | Converts collection of appointments to list |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### AppointmentCollection() {#AppointmentCollection--}
```
public AppointmentCollection()
```


Initializes a new instance of the AppointmentCollection class that is empty.

### AppointmentCollection(Iterable<Appointment> appointments) {#AppointmentCollection-java.lang.Iterable-com.aspose.email.Appointment--}
```
public AppointmentCollection(Iterable<Appointment> appointments)
```


Initializes a new instance of the AppointmentCollection class

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| appointments | java.lang.Iterable<com.aspose.email.Appointment> | initial value |

### addItem(T arg0) {#addItem-T-}
```
public void addItem(T arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | T |  |

### clear() {#clear--}
```
public void clear()
```




### containsItem(T arg0) {#containsItem-T-}
```
public boolean containsItem(T arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | T |  |

**Returns:**
boolean
### copyToTArray(T[] arg0, int arg1) {#copyToTArray-T---int-}
```
public void copyToTArray(T[] arg0, int arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | T[] |  |
| arg1 | int |  |

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




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

**Returns:**
boolean
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### getICollection() {#getICollection--}
```
public System.Collections.ICollection getICollection()
```




**Returns:**
com.aspose.ms.System.Collections.ICollection
### getIList() {#getIList--}
```
public System.Collections.IList getIList()
```




**Returns:**
com.aspose.ms.System.Collections.IList
### getSyncRoot() {#getSyncRoot--}
```
public Object getSyncRoot()
```




**Returns:**
java.lang.Object
### get_Item(int arg0) {#get-Item-int-}
```
public T get_Item(int arg0)
```




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

**Returns:**
T
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**Returns:**
int
### indexOfItem(T arg0) {#indexOfItem-T-}
```
public int indexOfItem(T arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | T |  |

**Returns:**
int
### insertItem(int arg0, T arg1) {#insertItem-int-T-}
```
public void insertItem(int arg0, T arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | int |  |
| arg1 | T |  |

### isReadOnly() {#isReadOnly--}
```
public boolean isReadOnly()
```




**Returns:**
boolean
### iterator() {#iterator--}
```
public System.Collections.Generic.IGenericEnumerator<T> iterator()
```




**Returns:**
com.aspose.ms.System.Collections.Generic.IGenericEnumerator<T>
### notify() {#notify--}
```
public final native void notify()
```




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




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




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

### removeItem(T arg0) {#removeItem-T-}
```
public boolean removeItem(T arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | T |  |

**Returns:**
boolean
### set_Item(int arg0, T arg1) {#set-Item-int-T-}
```
public void set_Item(int arg0, T arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | int |  |
| arg1 | T |  |

### size() {#size--}
```
public int size()
```




**Returns:**
int
### toString() {#toString--}
```
public String toString()
```




**Returns:**
java.lang.String
### to_(AppointmentCollection appointments) {#to--com.aspose.email.AppointmentCollection-}
```
public static Appointment[] to_(AppointmentCollection appointments)
```


Converts collection of appointments to array

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| appointments | [AppointmentCollection](../../com.aspose.email/appointmentcollection) | Collection of appointments to convert |

**Returns:**
com.aspose.email.Appointment[] - Array of appointments
### to_AppointmentCollection(Appointment[] appointments) {#to-AppointmentCollection-com.aspose.email.Appointment---}
```
public static AppointmentCollection to_AppointmentCollection(Appointment[] appointments)
```


Converts array of appointments to collection

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| appointments | [Appointment\[\]](../../com.aspose.email/appointment) | Array of appointments to convert |

**Returns:**
[AppointmentCollection](../../com.aspose.email/appointmentcollection) - Collection of appointments
### to_AppointmentCollection(System.Collections.Generic.List<Appointment> appointments) {#to-AppointmentCollection-com.aspose.ms.System.Collections.Generic.List-com.aspose.email.Appointment--}
```
public static AppointmentCollection to_AppointmentCollection(System.Collections.Generic.List<Appointment> appointments)
```


Converts list of appointments to collection

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| appointments | com.aspose.ms.System.Collections.Generic.List<com.aspose.email.Appointment> | List of appointments to convert |

**Returns:**
[AppointmentCollection](../../com.aspose.email/appointmentcollection) - Collection of appointments
### to_List(AppointmentCollection appointments) {#to-List-com.aspose.email.AppointmentCollection-}
```
public static System.Collections.Generic.List<Appointment> to_List(AppointmentCollection appointments)
```


Converts collection of appointments to list

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| appointments | [AppointmentCollection](../../com.aspose.email/appointmentcollection) | Collection of appointments to convert |

**Returns:**
com.aspose.ms.System.Collections.Generic.List<com.aspose.email.Appointment> - List of appointments
### wait() {#wait--}
```
public final void wait()
```




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




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |

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




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |

