23 lines
809 B
Java
23 lines
809 B
Java
package com.inmind.student.罗康凯2;
|
|
|
|
import java.io.Serializable;
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
|
|
// 统计结果封装类
|
|
public class Stats implements Serializable {
|
|
private final Map<String, Long> levelCount;
|
|
private final Map<String, Long> moduleErrorCount;
|
|
private final List<Log> earliestLogs;
|
|
|
|
public Stats(Map<String, Long> levelCount, Map<String, Long> moduleErrorCount, List<Log> earliestLogs) {
|
|
this.levelCount = levelCount;
|
|
this.moduleErrorCount = moduleErrorCount;
|
|
this.earliestLogs = earliestLogs;
|
|
}
|
|
|
|
// Getter方法
|
|
public Map<String, Long> getLevelCount() { return levelCount; }
|
|
public Map<String, Long> getModuleErrorCount() { return moduleErrorCount; }
|
|
public List<Log> getEarliestLogs() { return earliestLogs; }
|
|
} |