commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 12746] New: - Easey Factory for ListUtils.lazyList() method
Date Tue, 17 Sep 2002 18:22:52 GMT
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:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message