|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
E
- type of value returned by yield
public interface ExitCondition<E>
Interface used to automatically close coroutine based on examination of last returned value.
CoIterator.till(ExitCondition)
Method Summary | |
---|---|
boolean |
exit(E yielded)
|
Method Detail |
---|
boolean exit(E yielded)
yielded
- last returned value
true
if no more results, produced by coroutine, are
needed, false
otherwise
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |