Re: [collections] BoundedCollection ?

2002-11-14 Thread Stephen Colebourne
I like this idea, and can see no problems with implementation. Would you like to code it up as a new interface and patches to existing files (from CVS head) ? Its the best way to get it included ;-) In addition you could add convenience static methods to BufferUtils to do this code public static

[collections] BoundedCollection ?

2002-11-12 Thread Herve Quiroz
I have recently switched to the Jakarta Commons Collections 2.1 library. I am mostly using it for Buffer implementations as I am working on a network simulator using queues of messages. Unfortunately there is no method to know if a buffer is full other than adding an object and catching a BufferOve