|
@@ -65,7 +65,7 @@ public class Grid<T> {
|
|
|
.collect(Collectors.toList());
|
|
.collect(Collectors.toList());
|
|
|
|
|
|
|
|
List<List<T>> data = records.stream()
|
|
List<List<T>> data = records.stream()
|
|
|
- .map(r -> head.stream().map(r::get).collect(toList()))
|
|
|
|
|
|
|
+ .map((Map<String, T> r) -> head.stream().map(r::get).collect(toList()))
|
|
|
.collect(toList());
|
|
.collect(toList());
|
|
|
|
|
|
|
|
return new Grid<>(head, data);
|
|
return new Grid<>(head, data);
|