📄 duplicatefilecomparitor.java
字号:
package filelogic.comparitors;
import java.io.File;
import java.io.IOException;
public class DuplicateFileComparitor extends Comparitor {
public DuplicateFileComparitor(File pathtocompare) throws IOException {
super(pathtocompare);
}
@Override
protected void doComparison() {
for (String k : listoffiles.keySet()) {
if (listoffiles.get(k).size() > 1)
listofresults.put(k, listoffiles.get(k));
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -