Defines a functor interface implemented by classes that create objects.
A Factory creates an object without using an input parameter.
If an input parameter is required, then
Transformer is more appropriate.
Standard implementations of common factories are provided by
FactoryUtils . These include factories that return a constant,
a copy of a prototype or a new instance.
since: Commons Collections 2.1 version: $Revision: 155406 $ $Date: 2005-02-26 12:55:26 +0000 (Sat, 26 Feb 2005) $ author: Arron Bates author: Stephen Colebourne |