|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Factory
Defines contract for a simple factory.
| Method Summary | ||
|---|---|---|
|
create(Class<T> type,
Object... args)
Creates a new instance of the specified class, optionally using the given arguments. |
|
| Method Detail |
|---|
<T> T create(Class<T> type,
Object... args)
T - The generic representing type of the new instance.type - The type of the new instance.args - Optionally used arguments used to create the new instance.
null.
|
Please visit Base Apps, hosted on Sourceforge.net. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||