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 28629] New: - CollectionUtils.cardinality should be made smarter about Bag
Date Tue, 27 Apr 2004 14:37:02 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28629>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28629

CollectionUtils.cardinality should be made smarter about Bag

           Summary: CollectionUtils.cardinality should be made smarter about
                    Bag
           Product: Commons
           Version: 3.0 Final
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Collections
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: jon.schewe@honeywell.com


I see that Bag implementations have a getCount() method that one would presume
is more efficient than iterating over the objects in the Collection.  Why
doesn't CollectionUtils.cardinality() take advantage of this?

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message