开始着手完成成绩分析

main
lensfrex 3 years ago
parent ffc8eaa6df
commit a5ba4eb17e
Signed by: lensfrex
GPG Key ID: 947ADABD8533C476
  1. 12
      src/main/java/me/lensfrex/manager/data/manager/StudentManager.java

@ -312,4 +312,16 @@ public class StudentManager {
public Student getStudent(long id) { public Student getStudent(long id) {
return managerTool.getStudent(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) {
}
}
} }
Loading…
Cancel
Save