package me.wayne;


import java.util.ArrayList;
import java.util.List;

import me.wayne.file.FileUtilsKt;

public class Main {

    public static void main(String[] args) {
        List<String> soTxtList = FileUtilsKt.readFileAndReadAsLine("/Users/wayne/Downloads/so.txt");

        List<String> currentVersion = FileUtilsKt.loadDirSubFileNames(
                "/Users/wayne/Downloads/apk/lib/armeabi");


        List<String> soTxtListCopy = new ArrayList<>(soTxtList);
        soTxtListCopy.removeAll(currentVersion);
        printList(soTxtListCopy);
    }

    private static void test1() {
        String dir1 =
                "/Users/wayne/Downloads/now_1.64.5"
                        + ".18-d6da12c1470ff27ba47c2cc85864c6bae33bfa13/lib/armeabi";
        List<String> subFileNames1 = FileUtilsKt.loadDirSubFileNames(dir1);

        String dir2 = "/Users/wayne/Downloads/apk/lib/armeabi";
        List<String> subFileNames2 = FileUtilsKt.loadDirSubFileNames(dir2);
//        for (String fileName : subFileNames1) {
//            subFileNames2.remove(fileName);
//        }
//        for (String fileName : subFileNames2) {
//            System.out.println(fileName);
//        }

        for (String fileName : subFileNames2) {
            subFileNames1.remove(fileName);
        }
        for (String fileName : subFileNames1) {
            System.out.println(fileName);
        }
    }

    private static void printList(List<String> list) {
        for (String fileName : list) {
            System.out.println(fileName);
        }
    }
}

@@ -16,1531 +16,122 @@
 e;%0A%0A
-%0Aimport java.util.ArrayList;%0Aimport java.util.List;%0A%0Aimport me.wayne.file.FileUtilsKt;%0A%0Apublic class Main %7B%0A%0A    public static void main(String%5B%5D args) %7B%0A        List%3CString%3E soTxtList = FileUtilsKt.readFileAndReadAsLine(%22/Users/wayne/Downloads/so.txt%22);%0A%0A        List%3CString%3E currentVersion = FileUtilsKt.loadDirSubFileNames(%0A                %22/Users/wayne/Downloads/apk/lib/armeabi%22);%0A%0A%0A        List%3CString%3E soTxtListCopy = new ArrayList%3C%3E(soTxtList);%0A        soTxtListCopy.removeAll(currentVersion);%0A        printList(soTxtListCopy);%0A    %7D%0A%0A    private static void test1() %7B%0A        String dir1 =%0A                %22/Users/wayne/Downloads/now_1.64.5%22%0A                        + %22.18-d6da12c1470ff27ba47c2cc85864c6bae33bfa13/lib/armeabi%22;%0A        List%3CString%3E subFileNames1 = FileUtilsKt.loadDirSubFileNames(dir1);%0A%0A        String dir2 = %22/Users/wayne/Downloads/apk/lib/armeabi%22;%0A        List%3CString%3E subFileNames2 = FileUtilsKt.loadDirSubFileNames(dir2);%0A//        for (String fileName : subFileNames1) %7B%0A//            subFileNames2.remove(fileName);%0A//        %7D%0A//        for (String fileName : subFileNames2) %7B%0A//            System.out.println(fileName);%0A//        %7D%0A%0A        for (String fileName : subFileNames2) %7B%0A            subFileNames1.remove(fileName);%0A        %7D%0A        for (String fileName : subFileNames1) %7B%0A            System.out.println(fileName);%0A        %7D%0A    %7D%0A%0A    private static void printList(List%3CString%3E list) %7B%0A        for (String fileName : list) %7B%0A            System.out.println(fileName);%0A        %7D
+public class Main %7B%0A%0A    public static void main(String%5B%5D args) %7B%0A        System.out.println(%22Hello IntelliJ!!!%22);
 %0A   

delete useless code