Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

group elements in list with some attributes

Map<String, List<Student>> studlistGrouped =
    studlist.stream().collect(Collectors.groupingBy(w -> w.stud_location));
 
PREVIOUS NEXT
Tagged: #group #elements #list #attributes
ADD COMMENT
Topic
Name
5+8 =