T - the type of the created object
public interface Factory<T>
| Modifier and Type | Method and Description | 
|---|---|
T | 
create()
Create a new instance. 
 | 
T create()
If the produced object requires constructor parameters, they must be externally communicated to the factory.