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

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

Introduction

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

The text is from its open source code.

Method

FactoryconstantFactory(Object constantToReturn)
Creates a Factory that will return the same object each time the factory is used.
FactoryinstantiateFactory(Class classToInstantiate)
Creates a Factory that can create objects of a specific type using a no-args constructor.
FactorynullFactory()
Gets a Factory that will return null each time the factory is used.
FactoryprototypeFactory(Object prototype)
Creates a Factory that will return a clone of the same prototype object each time the factory is used.