|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jmock.lib.action.ReturnIteratorAction
public class ReturnIteratorAction
Returns an Iterator over a collection.
| Constructor Summary | |
|---|---|
ReturnIteratorAction(java.util.Collection<?> collection)
|
|
ReturnIteratorAction(java.lang.Object... array)
|
|
| Method Summary | |
|---|---|
void |
describeTo(Description description)
|
java.util.Iterator<?> |
invoke(Invocation invocation)
Performs an action in response to an invocation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReturnIteratorAction(java.util.Collection<?> collection)
public ReturnIteratorAction(java.lang.Object... array)
| Method Detail |
|---|
public java.util.Iterator<?> invoke(Invocation invocation)
throws java.lang.Throwable
Invokable
invoke in interface Invokableinvocation - The invocation to perform.
null if the invoked method has a void return type.
java.lang.Throwable - An exception to be thrown to the caller, if not returning a value. Any checked exception
thrown must be in the throws list of the invoked method.public void describeTo(Description description)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||