Arron and Nested Extension enthusiast,

I have a class that i created that can be used to create a easily create
factories for the ListUtils.lazyList(). So, one doesn't have to hard code a
factory for each class. All you have to do is pass a fully qualified class
name to the GenericFactory.

For example: Here is the call to create a lazyList:

List myList = ListUtils.lazyList(new ArrayList(),new
GenericFactory("com.foo.MyClass"));

This will populate the list with the com.foo.MyClass classes.

Attached is the code. But, i can submit it to the commons collection
project. Where do i send it?

Brandon Goodin
Phase Web and Multimedia
P (406) 862-2245
F (406) 862-0354
[EMAIL PROTECTED]
http://www.phase.ws

Attachment: GenericFactory.java
Description: Binary data

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to