code: public M remove(int index){
          M item = items.remove(index);
          applyFilter();
          return item;
      }
docs: Remove an item at the given index
  
  @param index     the index of the item to remove
  @return          the removed item