You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2002/09/17 20:22:52 UTC
DO NOT REPLY [Bug 12746] New: -
Easey Factory for ListUtils.lazyList() method
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12746>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12746
Easey Factory for ListUtils.lazyList() method
Summary: Easey Factory for ListUtils.lazyList() method
Product: Commons
Version: Nightly Builds
Platform: Other
URL: http://www.phase.ws/commons/collections/GenericFactory.j
ava
OS/Version: Other
Status: NEW
Severity: Enhancement
Priority: Other
Component: Collections
AssignedTo: commons-dev@jakarta.apache.org
ReportedBy: mail@phase.ws
I created this class to cut down on having to write a class Factory for every
class object i wanted to create a LazyList for. It uses reflection to create
the object rather than a hardcoded class. The syntax for its' usage is as
follows: List myList = ListUtils.lazyList(new ArrayList(),new GenericFactory
("com.foo.MyClass")); This calls the GenericFactory which will be used to pass
back com.foo.MyClass objects to the calling method. Please visit the about url
to download it. It should be ready to plug right in to commons. I have compiled
it into the nightly build and it works fine. For some reason the docs didn't
generate. But, i wasn't sure if that was an issue of the Ant script or my
javadoc. Anyways i hope to see this soon in the nightly. Also, I hope this is
the right place to submit this.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>