API Reference
| Classic JavaDoc |
ItemsCollection.iteratorFromIndex
public ItemsIterator iteratorFromIndex(int startFromIndex)
public ItemsIterator iteratorFromIndex(int startFromIndex, int maxItemsReturned)
Creates a new iterator for items in this collection starting at the specified index. The
items before this index will be skipped over and ignored.
This method never returns null, even if the collection is empty or there are no more items after the specified index. An empty iterator will be returned in this case.
To iterate over all items in this collection use the method iterator().
See Also:Throws:ExchangeServiceException | if any errors occur during the communication with Exchange. |
public ItemsIterator iteratorFromIndex(int startFromIndex, int maxItemsReturned)
Creates a new iterator for items in this collection starting at the specified index and limits the
returned result set to the specified maximum of items. The items before the start index will be
skipped over and ignored. The item at the index (startFromIndex + maxItemsReturned) and all following
items won't be reached by the iterator.
This method never returns null, even if the collection is empty or there are no more items after the specified index. An empty iterator will be returned in this case.
To iterate over all items in this collection use the method iterator().
See Also:Throws:ExchangeServiceException | if any errors occur during the communication with Exchange. |
Community comments
Powered by JavaDocPlus