OdsoRecipientDataCollection
Inheritance: java.lang.Object
All Implemented Interfaces: java.lang.Iterable
public class OdsoRecipientDataCollection implements Iterable
A typed collection of OdsoRecipientData
To learn more, visit the Mail Merge and Reporting documentation article.
Remarks:
Methods
Method | Description |
---|---|
add(OdsoRecipientData value) | Adds an object to the end of this collection. |
clear() | Removes all elements from this collection. |
get(int index) | Gets an item in this collection. |
getCount() | Gets the number of elements contained in the collection. |
iterator() | Returns an iterator object that can be used to iterate over all items in the collection. |
removeAt(int index) | Removes the element at the specified index. |
set(int index, OdsoRecipientData value) | Sets an item in this collection. |
add(OdsoRecipientData value)
public int add(OdsoRecipientData value)
Adds an object to the end of this collection.
Parameters:
Parameter | Type | Description |
---|---|---|
value | OdsoRecipientData | The object to add. Cannot be null . |
Returns: int
clear()
public void clear()
Removes all elements from this collection.
get(int index)
public OdsoRecipientData get(int index)
Gets an item in this collection.
Parameters:
Parameter | Type | Description |
---|---|---|
index | int |
Returns: OdsoRecipientData - An item in this collection.
getCount()
public int getCount()
Gets the number of elements contained in the collection.
Returns: int - The number of elements contained in the collection.
iterator()
public Iterator iterator()
Returns an iterator object that can be used to iterate over all items in the collection.
Returns: java.util.Iterator
removeAt(int index)
public void removeAt(int index)
Removes the element at the specified index.
Parameters:
Parameter | Type | Description |
---|---|---|
index | int | The zero-based index of the element. |
set(int index, OdsoRecipientData value)
public void set(int index, OdsoRecipientData value)
Sets an item in this collection.
Parameters:
Parameter | Type | Description |
---|---|---|
index | int | |
value | OdsoRecipientData | An item in this collection. |