Package org.jmock.expectation
Class ReturnValues
- java.lang.Object
-
- org.jmock.expectation.ReturnValues
-
- Direct Known Subclasses:
VoidReturnValues
public class ReturnValues extends java.lang.ObjectSequence values as required by MockMaker This is a generic class that should have been introduced to the mockobjects code stream instead of being separately included in org.mockobjects. It is possibly similar to a ReturnObjectList?
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.VectormyContents
-
Constructor Summary
Constructors Constructor Description ReturnValues()ReturnValues(boolean keepUsingLastReturnValue)ReturnValues(java.lang.String name, boolean keepUsingLastReturnValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(java.lang.Object element)voidaddAll(java.util.Collection returnValues)java.lang.ObjectgetNext()booleanisEmpty()protected java.lang.Objectpop()
-