Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a bounded non-blocking Collection in Java?

The only one I can find is the BoundedFIFOBuffer, which is deprecated. Any others?

like image 800
Justin Avatar asked Aug 17 '09 20:08

Justin


1 Answers

BoundedFIFOBuffer in Apache Commons Collections (which I assume is what you're referring to) is not deprecated, it has just moved packages. The original one in org.apache.commons.collections is deprecated, and has instead been moved to org.apache.commons.collections.buffer

like image 152
skaffman Avatar answered Oct 18 '22 17:10

skaffman