Package de.hsh.graja.modules.junit.api
Class ObjectPool
java.lang.Object
de.hsh.graja.modules.junit.api.ObjectPool
An object pool maps classes and names to instances.
An object pool can be prepared without actually instantiating the instances.
Instead an object pool defer object instantiation to when the first instance is requested.
This class can be used in complex assignments, when there are many classes involved
and when there is need to share a test fixture between several test classes.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ObjectPool
-
ObjectPool
public ObjectPool()
-
-
Method Details
-
get
-
put
-