code: public void addAll(Collection<? extends M> collection) {
          if (collection != null) {
              items.addAll(collection);
              applyFilter();
          }
      }
docs: Add a collection of objects to this adapter
  
  @param collection        the collection of objects to add