com.mockobjects
public class ReturnObjectBag extends Object implements Verifiable
Version: $Revision: 1.4 $
See Also: ReturnObjectList
Constructor Summary | |
---|---|
ReturnObjectBag(String name) |
Method Summary | |
---|---|
Hashtable | getHashTable() |
boolean | getNextReturnBoolean(Object key) |
int | getNextReturnInt(Object key) |
Object | getNextReturnObject(Object key)
Returns the next object in the ReturnObjectList for a given key.
|
Object | getNextReturnObject(int key)
Returns the next object in the ReturnObjectList for a given int key.
|
void | putObjectToReturn(Object key, Object value)
Places an object into the list of return objects for a particular key |
void | putObjectToReturn(int key, Object value)
Places an object into the list of return objects for a particular int key |
void | putObjectToReturn(Object key, int value)
Places an int into the list of return objects for a particular key. |
void | putObjectToReturn(Object key, boolean value)
Places an boolean into the list of return objects for a particular key. |
void | verify()
Checks each the list for each key to verify that all no objects remain
in the list for that key. |
Parameters: name Name used to describe an instance of ReturnObjectBag in error messages
Parameters: key The key for which the next object should be returned.
Returns: The next object from the ReturnObjectList stored against the given key.
See Also: ReturnObjectList
Parameters: key The key for which the next object should be returned.
Returns: The next object from the ReturnObjectList stored against the given key.
See Also: ReturnObjectList
Parameters: key the key against which the object will be stored value the value to be added to the list for that key
See Also: ReturnObjectList
Parameters: key the key against which the object will be stored value the value to be added to the list for that key
See Also: ReturnObjectList
Parameters: key the key against which the object will be stored value the value to be added to the list for that key
See Also: ReturnObjectList ReturnObjectBag
Parameters: key the key against which the object will be stored value the value to be added to the list for that key
See Also: ReturnObjectList ReturnObjectBag
See Also: ReturnObjectList