code: public List<XEvent> subList(int fromIndex, int toIndex) {
  		XTraceBufferedImpl sublist = (XTraceBufferedImpl) this.clone();
  		this.clear();
  		for (int i = fromIndex; i < toIndex; i++) {
  			try {
  				sublist.add(events.get(i));
  			} catch (IOException e) {
  				e.printStackTrace();
  			}
  		}
  		return sublist;
  	}
docs: /*
  (non-Javadoc)
  
  @see java.util.List#subList(int, int)