|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.spockframework.mock.IterableResultGenerator
public class IterableResultGenerator
Generates result values from an iterable object. If the iterator has no more values left, the previous value is returned.
| Constructor Summary | |
|---|---|
IterableResultGenerator(java.lang.Object iterable)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
generate(IMockInvocation invocation)
|
boolean |
isExhausted()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IterableResultGenerator(java.lang.Object iterable)
| Method Detail |
|---|
public boolean isExhausted()
isExhausted in interface IResultGeneratorpublic java.lang.Object generate(IMockInvocation invocation)
generate in interface IResultGenerator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||