Chatty
0
Q:

group elements in list with some attributes

Map<String, List<Student>> studlistGrouped =
    studlist.stream().collect(Collectors.groupingBy(w -> w.stud_location));
0

New to Communities?

Join the community