Package org.carrot2.util.factory

A simple object factory.

See:
          Description

Interface Summary
IFactory<T> A factory of T.
 

Class Summary
CachedInstanceFactoryDecorator<T> A decorator that returns the first non-null instance returned by the delegate factory.
FallbackFactory<T> Fallback to the first factory that returns a value.
NewClassInstanceFactory<T> A IFactory that creates new instances of a given class.
SingletonFactory<T> A IFactory that creates new instances of a given class.
 

Package org.carrot2.util.factory Description

A simple object factory.



Copyright (c) Dawid Weiss, Stanislaw Osinski