org.apache.commons.collections
Interface Factory
- ConstantFactory, ExceptionFactory, InstantiateFactory
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.
$Revision: 1.9 $ $Date: 2004/04/14 20:08:57 $- Arron Bates
- Stephen Colebourne
Object | create() - Create a new object.
|
create
public Object create()
Create a new object.
Copyright © 2001-2006 Apache Software Foundation. All Rights Reserved.