/** @param item the item to put @throws IOException if the destination collection fails to add the item */ @Override public boolean put(final T item) throws IOException { if(i >= capacity) { i = 0; } return super.put(item); }
@Override public final int put(final List<T> items) throws IOException { return put(items, 0, items.size()); }