|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectzinger.util.recycling.ClassInstanceGenerator
zinger.util.recycling.CollectionGenerator
public class CollectionGenerator
Field Summary |
---|
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
java.lang.IllegalArgumentException
public CollectionGenerator(java.lang.Class c) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
Method Detail |
---|
public boolean prepareObject(java.lang.Object obj, java.lang.Object arg) throws java.lang.IllegalArgumentException
ClassInstanceGenerator
prepareObject
in interface ObjectGenerator
prepareObject
in class ClassInstanceGenerator
true
if the preparation succeeded
false
if there is something
wrong with the object passed
java.lang.IllegalArgumentException
- if the argument passed for preparation is inappropriate
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |