com.aliasi.util
Class Factory<E>
java.lang.Object
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
|
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 |
Factory
public Factory()
create
public abstract E create()
- Return an instance created by this factory.
- Returns:
- An instance.