com.aliasi.util
Class Factory<E>

java.lang.Object
  extended by com.aliasi.util.Factory<E>

public abstract class Factory<E>
extends Object

A Factory provides a generic interface for object creation of a specified type. The interface specifies a single method, create(), which returns an object of the factory's type.

Since:
LingPipe2.0
Version:
3.3.1
Author:
Bob Carpenter

Constructor Summary
Factory()
           
 
Method Summary
abstract  E create()
          Return an instance created by this factory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Factory

public Factory()
Method Detail

create

public abstract E create()
Return an instance created by this factory.

Returns:
An instance.