Modifier and Type | Method and Description |
---|---|
T |
createInstance(Object... params)
Creates an instance of the class produced in this factory
|
boolean |
equals(Object o) |
String |
getName()
Returns the full class name for the objects being produced
|
int |
hashCode() |
String |
toString() |
public T createInstance(Object... params)
params
- The arguments to the constructor of the class NOTE: the
resulting instance will [unlike java] invoke the most
narrow constructor rather than the one which matches the
signature passed to this functionpublic String getName()