In looking at the code for CircularBuffer I was quite surprised in learning that the circular buffer grows by factor of 2 instead of wrapping around on itself when the content size is > buffer size.
I don't see any benefits with the current behavior over an ArrayList. Do I not understand correctly the intent of the CircularBuffer class? Also it seems odd that the CircularBuffer does not implement the java.util.Collection interface. Is this a legacy class that predates java.util.Collections? Thanks, --mike --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
