⇒ Index (Frames) |  ⇒ Index (No Frames) |  ⇒ Package |  ⇒ Package Tree |  ⇒ Full Tree 
org.apache.commons.collections

Interface Factory


public interface Factory

Defines a functor interface implemented by classes that create objects.
Since:
Commons Collections 2.1
Authors:
Arron Bates
Stephen Colebourne

Method Summary

Object

create()

Create a new object.

Method Details

create

public Object create()

Create a new object.

Returns:
a new object
Throws:
FunctorException - (runtime) if the factory cannot create an object