|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmicrosoft.exchange.webservices.data.ServiceResponseCollection<TResponse>
TResponse - The type of response stored in the list.public final class ServiceResponseCollection<TResponse extends ServiceResponse>
Represents a strongly typed list of service responses.
| Constructor Summary | |
|---|---|
protected |
ServiceResponseCollection()
* Initializes a new instance. |
| Method Summary | |
|---|---|
protected void |
add(TResponse response)
Adds specified response. |
int |
getCount()
Gets the total number of responses in the list. |
Enumeration<TResponse> |
getEnumerator()
Gets the enumerator. |
ServiceResult |
getOverallResult()
* Gets a value indicating the overall result of the request that generated this response collection. |
TResponse |
getResponseAtIndex(int index)
* Gets the response at the specified index. |
Iterator<TResponse> |
iterator()
Returns an iterator over a set of elements of type T. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected ServiceResponseCollection()
| Method Detail |
|---|
protected void add(TResponse response)
response - The response.public int getCount()
public TResponse getResponseAtIndex(int index)
throws IndexOutOfBoundsException
index - The zero-based index of the response to get.
IndexOutOfBoundsException - the index out of bounds exceptionpublic ServiceResult getOverallResult()
public Iterator<TResponse> iterator()
iterator in interface Iterable<TResponse extends ServiceResponse>public Enumeration<TResponse> getEnumerator()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||