Example usage for Java org.apache.commons.collections FactoryUtils fields, constructors, methods, implement or subclass
The text is from its open source code.
Factory | constantFactory(Object constantToReturn) Creates a Factory that will return the same object each time the factory is used. |
Factory | instantiateFactory(Class classToInstantiate) Creates a Factory that can create objects of a specific type using a no-args constructor. |
Factory | nullFactory() Gets a Factory that will return null each time the factory is used. |
Factory | prototypeFactory(Object prototype) Creates a Factory that will return a clone of the same prototype object each time the factory is used. |