PostalAddressList
Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.ms.System.Collections.Generic.IGenericList
public class PostalAddressList implements System.Collections.Generic.IGenericList<PostalAddress>
List of postal addresses for a contact.
Constructors
Constructor | Description |
---|---|
PostalAddressList() |
Methods
Method | Description |
---|---|
add(PostalAddress value) | Adds an item to the list. |
addItem(PostalAddress value) | |
clear() | Removes all items from the list. |
contains(PostalAddress value) | Determines whether the list contains a specific value. |
containsItem(PostalAddress value) | |
copyTo(PostalAddress[] array, int index) | Copies the elements to an array, starting at a particular array index. |
copyToTArray(PostalAddress[] array, int index) | |
equals(Object arg0) | |
getClass() | |
getHomeAddress() | Default home address |
getOtherAddress() | Default other address |
getWorkAddress() | Default work address |
get_Item(int index) | Gets or sets the element at the specified index. |
hashCode() | |
indexOf(PostalAddress value) | Determines the index of a specific item in the list. |
indexOfItem(PostalAddress value) | |
insert(int index, PostalAddress value) | Inserts an item to the list at the specified index. |
insertItem(int index, PostalAddress value) | |
isReadOnly() | Gets a value indicating whether the list is read-only. |
iterator() | Returns an enumerator that iterates through a collection. |
notify() | |
notifyAll() | |
remove(PostalAddress value) | Removes the first occurrence of a specific object from the list. |
removeAt(int index) | Removes the list item at the specified index. |
removeItem(PostalAddress value) | |
setHomeAddress(PostalAddress value) | Default home address |
setOtherAddress(PostalAddress value) | Default other address |
setWorkAddress(PostalAddress value) | Default work address |
set_Item(int index, PostalAddress value) | Gets or sets the element at the specified index. |
size() | Gets the number of elements contained in the ICollection. |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
PostalAddressList()
public PostalAddressList()
add(PostalAddress value)
public final void add(PostalAddress value)
Adds an item to the list.
Parameters:
Parameter | Type | Description |
---|---|---|
value | PostalAddress | The object to add to the list. |
addItem(PostalAddress value)
public void addItem(PostalAddress value)
Parameters:
Parameter | Type | Description |
---|---|---|
value | PostalAddress |
clear()
public final void clear()
Removes all items from the list.
contains(PostalAddress value)
public final boolean contains(PostalAddress value)
Determines whether the list contains a specific value.
Parameters:
Parameter | Type | Description |
---|---|---|
value | PostalAddress | The object to locate in the list. |
Returns: boolean - true if the object is found in the list; otherwise, false.
containsItem(PostalAddress value)
public boolean containsItem(PostalAddress value)
Parameters:
Parameter | Type | Description |
---|---|---|
value | PostalAddress |
Returns: boolean
copyTo(PostalAddress[] array, int index)
public final void copyTo(PostalAddress[] array, int index)
Copies the elements to an array, starting at a particular array index.
Parameters:
Parameter | Type | Description |
---|---|---|
array | PostalAddress[] | 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(PostalAddress[] array, int index)
public void copyToTArray(PostalAddress[] array, int index)
Parameters:
Parameter | Type | Description |
---|---|---|
array | PostalAddress[] | |
index | int |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getHomeAddress()
public final PostalAddress getHomeAddress()
Default home address
Returns: PostalAddress
getOtherAddress()
public final PostalAddress getOtherAddress()
Default other address
Returns: PostalAddress
getWorkAddress()
public final PostalAddress getWorkAddress()
Default work address
Returns: PostalAddress
get_Item(int index)
public final PostalAddress 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: PostalAddress - The element at the specified index.
hashCode()
public native int hashCode()
Returns: int
indexOf(PostalAddress value)
public final int indexOf(PostalAddress value)
Determines the index of a specific item in the list.
Parameters:
Parameter | Type | Description |
---|---|---|
value | PostalAddress | The Object to locate in the list. |
Returns: int - The index of value if found in the list; otherwise, -1.
indexOfItem(PostalAddress value)
public int indexOfItem(PostalAddress value)
Parameters:
Parameter | Type | Description |
---|---|---|
value | PostalAddress |
Returns: int
insert(int index, PostalAddress value)
public final void insert(int index, PostalAddress 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 | PostalAddress | The Object to insert into the list. |
insertItem(int index, PostalAddress value)
public void insertItem(int index, PostalAddress value)
Parameters:
Parameter | Type | Description |
---|---|---|
index | int | |
value | PostalAddress |
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()
public final System.Collections.Generic.IGenericEnumerator<PostalAddress> iterator()
Returns an enumerator that iterates through a collection.
Returns: com.aspose.ms.System.Collections.Generic.IGenericEnumerator<com.aspose.email.PostalAddress> - An IEnumerator object that can be used to iterate through the collection.
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
remove(PostalAddress value)
public final boolean remove(PostalAddress value)
Removes the first occurrence of a specific object from the list.
Parameters:
Parameter | Type | Description |
---|---|---|
value | PostalAddress | The Object to remove from the list. |
Returns: boolean
removeAt(int index)
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(PostalAddress value)
public boolean removeItem(PostalAddress value)
Parameters:
Parameter | Type | Description |
---|---|---|
value | PostalAddress |
Returns: boolean
setHomeAddress(PostalAddress value)
public final void setHomeAddress(PostalAddress value)
Default home address
Parameters:
Parameter | Type | Description |
---|---|---|
value | PostalAddress |
setOtherAddress(PostalAddress value)
public final void setOtherAddress(PostalAddress value)
Default other address
Parameters:
Parameter | Type | Description |
---|---|---|
value | PostalAddress |
setWorkAddress(PostalAddress value)
public final void setWorkAddress(PostalAddress value)
Default work address
Parameters:
Parameter | Type | Description |
---|---|---|
value | PostalAddress |
set_Item(int index, PostalAddress value)
public final void set_Item(int index, PostalAddress 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 | PostalAddress |
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()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |