com.mockobjects

Class ReturnValues

public class ReturnValues extends Object

Sequence 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?
Constructor Summary
ReturnValues()
ReturnValues(String name, boolean keepUsingLastReturnValue)
ReturnValues(boolean keepUsingLastReturnValue)
Method Summary
voidadd(Object element)
voidaddAll(Collection returnValues)
ObjectgetNext()
booleanisEmpty()

Constructor Detail

ReturnValues

public ReturnValues()

ReturnValues

public ReturnValues(String name, boolean keepUsingLastReturnValue)

ReturnValues

public ReturnValues(boolean keepUsingLastReturnValue)

Method Detail

add

public void add(Object element)

addAll

public void addAll(Collection returnValues)

getNext

public Object getNext()

isEmpty

public boolean isEmpty()
Copyright © 2002 Mock Objects. All Rights Reserved.