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