private void resetBuffer(LinkedList list) { bufferHolder.setCollection(list); }
/** Reset BufferList. It will empty the buffer and leave its size at the current value */ public synchronized void reset() { bufferHolder.setCollection(new LinkedList()); }