|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--zinger.util.recycling.ClassInstanceGenerator | +--zinger.util.recycling.CollectionGenerator
Fields inherited from class zinger.util.recycling.ClassInstanceGenerator |
args, constructor, EMPTY_CLASS_ARRAY |
Constructor Summary | |
CollectionGenerator(java.lang.Class c)
|
|
CollectionGenerator(java.lang.reflect.Constructor constructor,
java.lang.Object[] args)
|
Method Summary | |
boolean |
prepareObject(java.lang.Object obj,
java.lang.Object arg)
An empty implementation for the sake of not having to declare this class abstract. |
Methods inherited from class zinger.util.recycling.ClassInstanceGenerator |
getDefaultConstructor, newObject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CollectionGenerator(java.lang.reflect.Constructor constructor, java.lang.Object[] args) throws java.lang.IllegalArgumentException
public CollectionGenerator(java.lang.Class c) throws java.lang.IllegalArgumentException
Method Detail |
public boolean prepareObject(java.lang.Object obj, java.lang.Object arg) throws java.lang.IllegalArgumentException
ClassInstanceGenerator
prepareObject
in class ClassInstanceGenerator
zinger.util.recycling.ObjectGenerator
true
if the preparation succeeded
false
if there is something
wrong with the object passedjava.lang.IllegalArgumentException
- if the argument passed for preparation is inappropriate
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |