Below is the syntax highlighted version of RingBuffer.java
from §4.3 Stacks and Queues.
/****************************************************************************** * Compilation: javac RingBuffer.java * Execution: java RingBuffer * * Ring buffer (fixed size queue) implementation using a circular array * (array with wrap-around). * ******************************************************************************/ public class RingBuffer<Item> { }