|
Project: stp | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface ResourceList.ResponseIterator<V>
An iterator of the results of applying a method to each element of a ResourceList.
Iterator
Method Summary | |
---|---|
boolean |
hasNext()
Test whether the iteration has more elements. |
V |
next()
Get the result of applying the method to the next element of the ResourceList. |
void |
release()
Release any resources associated with this ResponseIterator. |
Method Detail |
---|
boolean hasNext()
Iterator.hasNext()
V next() throws WvcmException, NoSuchElementException
WvcmException
- indicates that the method failed on this element
of the ResourceList.
If WvcmException.ReasonCode
is WvcmException.ReasonCode.ABORTED
,
it does not indicate the method has failed on this element,
but instead indicates that an abort requested through Feedback
has terminated the ResponseIterator.
After this exception is handled, unless the reason code is WvcmException.ReasonCode.ABORTED
,
further calls to hasNext() and next() are valid,
and will process the remaining elements of the ResourceList.
NoSuchElementException
- iteration has no more elements.Iterator.next()
void release()
|
Generated Wed 29-Feb-2012 11:58 AM | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |