core/src/de/lksbhm/gdx/util/CircularBuffer.java
/**
	 * Places the given object on top of the ringbuffer.
	 * 
	 * @param obj
	 *            the object which will be placed upon the ringbuffer.
	 */
Places the given object on top of the ringbuffer.

@param obj
the object which will be placed upon the ringbuffer.
Places the given object on top of the ringbuffer . @param obj the object which will be placed upon the ringbuffer .
public void push(T obj) {
		if (buffer.length == 0) {
			return;
		}
		if (items < buffer.length) {
			items++;
		}
		buffer[head] = obj;
		head = (head + 1) % buffer.length;
	}
public void push ( T obj ) { if ( buffer . length == 0 ) { return ; } if ( items < buffer . length ) { items ++ ; } buffer [ head ] = obj ; head = ( head + 1 ) % buffer . length ; }
Places the given object on top of the ringbuffer.
Places the given object on top of the ringbuffer .