You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Thomas Neidhart (JIRA)" <ji...@apache.org> on 2013/03/17 13:05:14 UTC

[jira] [Resolved] (COLLECTIONS-398) BoundedFifoBuffer could be simplified by keeping a count of the number of entries

     [ https://issues.apache.org/jira/browse/COLLECTIONS-398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Neidhart resolved COLLECTIONS-398.
-----------------------------------------

    Resolution: Won't Fix

BoundedFifoBuffer will be removed in favor of java.util.concurrent.ArrayBlockingQueue, see COLLECTIONS-432.
                
> BoundedFifoBuffer could be simplified by keeping a count of the number of entries
> ---------------------------------------------------------------------------------
>
>                 Key: COLLECTIONS-398
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-398
>             Project: Commons Collections
>          Issue Type: Improvement
>            Reporter: Sebb
>         Attachments: COLLECTIONS-398-2.patch, COLLECTIONS-398.patch
>
>
> BoundedFifoBuffer could be much simplified by keeping a count of the number of entries, and dropping the boolean full.
> This would speed up size() and isEmpty() and isFull().

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira