code: @Override
      public void deleteAll(final Collection<T> values) {
          if (values == null || values.size() == 0) {
              return;
          }
  
          // we need a List of values to partition
          final List<T> valuesList;
          if (values instanceof List) {
              valuesList = (List<T>) values;
          } else {
              valuesList = Lists.newArrayList(values);
          }
  
          // process values in groups of <partition size>
          for (final List<T> partition : Lists.partition(valuesList, config.getPartitionSize())) {
              doDeleteAllValues(partition);
              for (final T value : partition) {
                  notifyDeleted(value);
              }
          }
      }
docs: /*
  (non-Javadoc)
  @see com.arakelian.dao.Dao#deleteAll(java.util.Collection)