private static IEnumerable <ISerializable> MultiMap(IMapperReducer mr, IEnumerable <ISerializable> a) { var mapped = new List <ISerializable>(); foreach (ISerializable i in a) { mapped.Add(mr.MapFunction(i)); } return(mapped); }
private static ISerializable SingleMap(IMapperReducer mr, ISerializable a) => mr.MapFunction(a);