class Expand extends BaseFunction {

  @Override
  public void execute(TridentTuple tuple, TridentCollector collector) {
    Iterable iterable = (Iterable) tuple.getValue(0);
    Iterator iterator = iterable.iterator();
    while (iterator.hasNext()) {
     collector.emit(new Values(iterator.next()));
    }
  }

}