import java.util.*; public class Main { public static void main(String args[]) { int capacity = 8; int cur = 0; boolean moreThanCapacity = false; Map<String, Integer> map = new HashMap<>();// 存放所有已经出现过的日志,文件名-行号 String[] resultList = new Strin...