The existing CircularFifoBuffer would suffice if it had an efficient
get(index) method, which
gets an element with the specified index from the end.

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]

Reply via email to