int i = 0;
for (java.util.Map.Entry<String, Model> entry : map.entrySet()) {
ts[i] = new Tuple2(entry.getKey(), entry.getValue());
i++;
}
final WrappedArray wa = Predef.wrapRefArray(ts);
return (Map<String, Model>) Predef$.MODULE$.Map().apply(wa);
}
return null;
}