public final Collection<To> map(Collection<From> entities){
  final Collection<To> result=new ArrayList<>(entities.size());
  for (  From from : entities) {
    result.add(map(from));
  }
  return result;
}

public final Collection < To > map ( Collection < From > entities ) { final Collection < To > result = new ArrayList < > ( entities . size ( ) ) ; for ( From from : entities ) { result . add ( map ( from ) ) ; } return result ; }
map the provided collection of input objects to an appropriate collection of output objects .
