On 6 March 2012 06:47, manoj mokashi <[email protected]> wrote: > The existing CircularFifoBuffer would suffice if it had an efficient > get(index) method, which > gets an element with the specified index from the end.
I think it should be possible to do this efficiently as the underlying storage is an array. > btw, the code i posted originally refers mistakenly to another Int > Buffer class and is not correct. > Also the IllegalArgumentCheck and the fill constructor needs changing. > Sorry about that. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
