
**Inheritance:**
java.lang.Object

**All Implemented Interfaces:**
com.aspose.ms.System.Collections.Generic.IGenericList
```
public class InstantMessengerList implements System.Collections.Generic.IGenericList<InstantMessengerAddress>
```

List of instant messenger addresses for a contact.
## Constructors

| Constructor | Description |
| --- | --- |
| [InstantMessengerList()](#InstantMessengerList--) |  |
## Methods

| Method | Description |
| --- | --- |
| [add(InstantMessengerAddress value)](#add-com.aspose.email.InstantMessengerAddress-) | Adds an item to the list. |
| [addItem(InstantMessengerAddress value)](#addItem-com.aspose.email.InstantMessengerAddress-) |  |
| [clear()](#clear--) | Removes all items from the list. |
| [contains(InstantMessengerAddress value)](#contains-com.aspose.email.InstantMessengerAddress-) | Determines whether the list contains a specific value. |
| [containsItem(InstantMessengerAddress value)](#containsItem-com.aspose.email.InstantMessengerAddress-) |  |
| [copyTo(InstantMessengerAddress[] array, int index)](#copyTo-com.aspose.email.InstantMessengerAddress---int-) | Copies the elements to an array, starting at a particular array index. |
| [copyToTArray(InstantMessengerAddress[] array, int index)](#copyToTArray-com.aspose.email.InstantMessengerAddress---int-) |  |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getAIM()](#getAIM--) | Default AIM id |
| [getClass()](#getClass--) |  |
| [getGoogleTalk()](#getGoogleTalk--) | Default Google Talk id |
| [getICQ()](#getICQ--) | Default ICQ id |
| [getJabber()](#getJabber--) | Default Jabber id |
| [getMSN()](#getMSN--) | Default MSN id |
| [getQQ()](#getQQ--) | Default QQ id |
| [getSkype()](#getSkype--) | Default skype is |
| [getYahoo()](#getYahoo--) | Default Yahoo id |
| [get_Item(InstantMessengerCategory category)](#get-Item-com.aspose.email.InstantMessengerCategory-) | Default instant messenger address for specified category |
| [get_Item(int index)](#get-Item-int-) | Gets or sets the element at the specified index. |
| [hashCode()](#hashCode--) |  |
| [indexOf(InstantMessengerAddress value)](#indexOf-com.aspose.email.InstantMessengerAddress-) | Determines the index of a specific item in the list. |
| [indexOfItem(InstantMessengerAddress value)](#indexOfItem-com.aspose.email.InstantMessengerAddress-) |  |
| [insert(int index, InstantMessengerAddress value)](#insert-int-com.aspose.email.InstantMessengerAddress-) | Inserts an item to the list at the specified index. |
| [insertItem(int index, InstantMessengerAddress value)](#insertItem-int-com.aspose.email.InstantMessengerAddress-) |  |
| [isReadOnly()](#isReadOnly--) | Gets a value indicating whether the list is read-only. |
| [iterator()](#iterator--) | Returns an enumerator that iterates through a collection. |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [remove(InstantMessengerAddress value)](#remove-com.aspose.email.InstantMessengerAddress-) | Removes the first occurrence of a specific object from the list. |
| [removeAt(int index)](#removeAt-int-) | Removes the list item at the specified index. |
| [removeItem(InstantMessengerAddress value)](#removeItem-com.aspose.email.InstantMessengerAddress-) |  |
| [setAIM(String value)](#setAIM-java.lang.String-) | Default AIM id |
| [setGoogleTalk(String value)](#setGoogleTalk-java.lang.String-) | Default Google Talk id |
| [setICQ(String value)](#setICQ-java.lang.String-) | Default ICQ id |
| [setJabber(String value)](#setJabber-java.lang.String-) | Default Jabber id |
| [setMSN(String value)](#setMSN-java.lang.String-) | Default MSN id |
| [setQQ(String value)](#setQQ-java.lang.String-) | Default QQ id |
| [setSkype(String value)](#setSkype-java.lang.String-) | Default skype is |
| [setYahoo(String value)](#setYahoo-java.lang.String-) | Default Yahoo id |
| [set_Item(InstantMessengerCategory category, String value)](#set-Item-com.aspose.email.InstantMessengerCategory-java.lang.String-) | Default instant messenger address for specified category |
| [set_Item(int index, InstantMessengerAddress value)](#set-Item-int-com.aspose.email.InstantMessengerAddress-) | Gets or sets the element at the specified index. |
| [size()](#size--) | Gets the number of elements contained in the ICollection. |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### InstantMessengerList() {#InstantMessengerList--}
```
public InstantMessengerList()
```


### add(InstantMessengerAddress value) {#add-com.aspose.email.InstantMessengerAddress-}
```
public final void add(InstantMessengerAddress value)
```


Adds an item to the list.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [InstantMessengerAddress](../../com.aspose.email/instantmessengeraddress) | The object to add to the list. |

### addItem(InstantMessengerAddress value) {#addItem-com.aspose.email.InstantMessengerAddress-}
```
public void addItem(InstantMessengerAddress value)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [InstantMessengerAddress](../../com.aspose.email/instantmessengeraddress) |  |

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


Removes all items from the list.

### contains(InstantMessengerAddress value) {#contains-com.aspose.email.InstantMessengerAddress-}
```
public final boolean contains(InstantMessengerAddress value)
```


Determines whether the list contains a specific value.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [InstantMessengerAddress](../../com.aspose.email/instantmessengeraddress) | The object to locate in the list. |

**Returns:**
boolean - true if the object is found in the list; otherwise, false.
### containsItem(InstantMessengerAddress value) {#containsItem-com.aspose.email.InstantMessengerAddress-}
```
public boolean containsItem(InstantMessengerAddress value)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [InstantMessengerAddress](../../com.aspose.email/instantmessengeraddress) |  |

**Returns:**
boolean
### copyTo(InstantMessengerAddress[] array, int index) {#copyTo-com.aspose.email.InstantMessengerAddress---int-}
```
public final void copyTo(InstantMessengerAddress[] array, int index)
```


Copies the elements to an array, starting at a particular array index.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| array | [InstantMessengerAddress\[\]](../../com.aspose.email/instantmessengeraddress) | The one-dimensional array that is the destination of the elements copied from collections. The array must have zero-based indexing. |
| index | int | The zero-based index in array at which copying begins. |

### copyToTArray(InstantMessengerAddress[] array, int index) {#copyToTArray-com.aspose.email.InstantMessengerAddress---int-}
```
public void copyToTArray(InstantMessengerAddress[] array, int index)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| array | [InstantMessengerAddress\[\]](../../com.aspose.email/instantmessengeraddress) |  |
| index | int |  |

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




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

**Returns:**
boolean
### getAIM() {#getAIM--}
```
public final String getAIM()
```


Default AIM id

**Returns:**
java.lang.String
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### getGoogleTalk() {#getGoogleTalk--}
```
public final String getGoogleTalk()
```


Default Google Talk id

**Returns:**
java.lang.String
### getICQ() {#getICQ--}
```
public final String getICQ()
```


Default ICQ id

**Returns:**
java.lang.String
### getJabber() {#getJabber--}
```
public final String getJabber()
```


Default Jabber id

**Returns:**
java.lang.String
### getMSN() {#getMSN--}
```
public final String getMSN()
```


Default MSN id

**Returns:**
java.lang.String
### getQQ() {#getQQ--}
```
public final String getQQ()
```


Default QQ id

**Returns:**
java.lang.String
### getSkype() {#getSkype--}
```
public final String getSkype()
```


Default skype is

**Returns:**
java.lang.String
### getYahoo() {#getYahoo--}
```
public final String getYahoo()
```


Default Yahoo id

**Returns:**
java.lang.String
### get_Item(InstantMessengerCategory category) {#get-Item-com.aspose.email.InstantMessengerCategory-}
```
public final String get_Item(InstantMessengerCategory category)
```


Default instant messenger address for specified category

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| category | [InstantMessengerCategory](../../com.aspose.email/instantmessengercategory) |  |

**Returns:**
java.lang.String
### get_Item(int index) {#get-Item-int-}
```
public final InstantMessengerAddress get_Item(int index)
```


Gets or sets the element at the specified index.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| index | int | The zero-based index of the element to get or set. |

**Returns:**
[InstantMessengerAddress](../../com.aspose.email/instantmessengeraddress) - The element at the specified index.
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**Returns:**
int
### indexOf(InstantMessengerAddress value) {#indexOf-com.aspose.email.InstantMessengerAddress-}
```
public final int indexOf(InstantMessengerAddress value)
```


Determines the index of a specific item in the list.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [InstantMessengerAddress](../../com.aspose.email/instantmessengeraddress) | The Object to locate in the list. |

**Returns:**
int - The index of  value  if found in the list; otherwise, -1.
### indexOfItem(InstantMessengerAddress value) {#indexOfItem-com.aspose.email.InstantMessengerAddress-}
```
public int indexOfItem(InstantMessengerAddress value)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [InstantMessengerAddress](../../com.aspose.email/instantmessengeraddress) |  |

**Returns:**
int
### insert(int index, InstantMessengerAddress value) {#insert-int-com.aspose.email.InstantMessengerAddress-}
```
public final void insert(int index, InstantMessengerAddress value)
```


Inserts an item to the list at the specified index.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| index | int | The zero-based index at which  value  should be inserted. |
| value | [InstantMessengerAddress](../../com.aspose.email/instantmessengeraddress) | The Object to insert into the list. |

### insertItem(int index, InstantMessengerAddress value) {#insertItem-int-com.aspose.email.InstantMessengerAddress-}
```
public void insertItem(int index, InstantMessengerAddress value)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| index | int |  |
| value | [InstantMessengerAddress](../../com.aspose.email/instantmessengeraddress) |  |

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


Gets a value indicating whether the list is read-only.

**Returns:**
boolean - true if the list is read-only; otherwise, false.
### iterator() {#iterator--}
```
public final System.Collections.Generic.IGenericEnumerator<InstantMessengerAddress> iterator()
```


Returns an enumerator that iterates through a collection.

**Returns:**
com.aspose.ms.System.Collections.Generic.IGenericEnumerator<com.aspose.email.InstantMessengerAddress> - An IEnumerator object that can be used to iterate through the collection.
### notify() {#notify--}
```
public final native void notify()
```




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




### remove(InstantMessengerAddress value) {#remove-com.aspose.email.InstantMessengerAddress-}
```
public final boolean remove(InstantMessengerAddress value)
```


Removes the first occurrence of a specific object from the list.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [InstantMessengerAddress](../../com.aspose.email/instantmessengeraddress) | The Object to remove from the list. |

**Returns:**
boolean
### removeAt(int index) {#removeAt-int-}
```
public final void removeAt(int index)
```


Removes the list item at the specified index.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| index | int | The zero-based index of the item to remove. |

### removeItem(InstantMessengerAddress value) {#removeItem-com.aspose.email.InstantMessengerAddress-}
```
public boolean removeItem(InstantMessengerAddress value)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [InstantMessengerAddress](../../com.aspose.email/instantmessengeraddress) |  |

**Returns:**
boolean
### setAIM(String value) {#setAIM-java.lang.String-}
```
public final void setAIM(String value)
```


Default AIM id

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String |  |

### setGoogleTalk(String value) {#setGoogleTalk-java.lang.String-}
```
public final void setGoogleTalk(String value)
```


Default Google Talk id

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String |  |

### setICQ(String value) {#setICQ-java.lang.String-}
```
public final void setICQ(String value)
```


Default ICQ id

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String |  |

### setJabber(String value) {#setJabber-java.lang.String-}
```
public final void setJabber(String value)
```


Default Jabber id

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String |  |

### setMSN(String value) {#setMSN-java.lang.String-}
```
public final void setMSN(String value)
```


Default MSN id

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String |  |

### setQQ(String value) {#setQQ-java.lang.String-}
```
public final void setQQ(String value)
```


Default QQ id

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String |  |

### setSkype(String value) {#setSkype-java.lang.String-}
```
public final void setSkype(String value)
```


Default skype is

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String |  |

### setYahoo(String value) {#setYahoo-java.lang.String-}
```
public final void setYahoo(String value)
```


Default Yahoo id

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String |  |

### set_Item(InstantMessengerCategory category, String value) {#set-Item-com.aspose.email.InstantMessengerCategory-java.lang.String-}
```
public final void set_Item(InstantMessengerCategory category, String value)
```


Default instant messenger address for specified category

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| category | [InstantMessengerCategory](../../com.aspose.email/instantmessengercategory) |  |
| value | java.lang.String |  |

### set_Item(int index, InstantMessengerAddress value) {#set-Item-int-com.aspose.email.InstantMessengerAddress-}
```
public final void set_Item(int index, InstantMessengerAddress value)
```


Gets or sets the element at the specified index.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| index | int | The zero-based index of the element to get or set. |
| value | [InstantMessengerAddress](../../com.aspose.email/instantmessengeraddress) |  |

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


Gets the number of elements contained in the ICollection.

**Returns:**
int - The number of elements contained in the ICollection.
### toString() {#toString--}
```
public String toString()
```




**Returns:**
java.lang.String
### 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 |  |

