|
|
|
@ -312,4 +312,16 @@ public class StudentManager { |
|
|
|
|
public Student getStudent(long id) { |
|
|
|
|
return managerTool.getStudent(id); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public HashMap<String, Integer[]> generateSubjectAnalysis(String subject) { |
|
|
|
|
ArrayList<Integer> scores = new ArrayList<>(managerTool.getSubjectScores(subject).values()); |
|
|
|
|
int[] scoreAnalysis = new int[5]; |
|
|
|
|
HashMap<String, Integer[]> analysis = new HashMap<>(); |
|
|
|
|
|
|
|
|
|
for (int score : scores) { |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |