Moyosoft Products | Services | Download | Contact us    
Java Bridge to Exchange
Products  >  Java Bridge to Exchange  >  API Reference    
API Reference
   
Overview  |  
Classic JavaDoc

ItemsCollection.iterableFromIndex

public java.lang.Iterable iterableFromIndex(int startFromIndex)

Creates a new Iterable 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 Iterable 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 java.lang.Iterable iterableFromIndex(int startFromIndex, int maxItemsReturned)

Creates a new Iterable 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 provided by the Iterable.

This method never returns null, even if the collection is empty or there are no more items after the specified index. An empty Iterable 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