package co.cask.cdap.template.etl.common;
import co.cask.cdap.api.metrics.Metrics;
import co.cask.cdap.template.etl.api.Emitter;
import co.cask.cdap.template.etl.api.InvalidEntry;
<BUG>import com.google.common.collect.Lists;
import java.util.Iterator;</BUG>
import java.util.List;
public class DefaultEmitter<T> implements Emitter<T>, Iterable<T> {
private final List<T> entryList;

package co.cask.cdap.template.etl.common;
import co.cask.cdap.api.metrics.Metrics;
import co.cask.cdap.template.etl.api.Emitter;
import co.cask.cdap.template.etl.api.InvalidEntry;
import com.google.common.collect.Lists;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
public class DefaultEmitter<T> implements Emitter<T>, Iterable<T> {
private final List<T> entryList;
