Java org.apache.commons.collections4 FactoryUtils fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.collections4 FactoryUtils fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.collections4 FactoryUtils.

The text is from its open source code.

Method

FactoryconstantFactory(final T constantToReturn)
Creates a Factory that will return the same object each time the factory is used.
FactoryinstantiateFactory(final Class classToInstantiate)
Creates a Factory that can create objects of a specific type using a no-args constructor.
FactoryinstantiateFactory(final Class classToInstantiate, final Class[] paramTypes, final Object[] args)
Creates a Factory that can create objects of a specific type using the arguments specified to this method.
FactoryprototypeFactory(final T prototype)
Creates a Factory that will return a clone of the same prototype object each time the factory is used.