<repo_name>Misaka0/test<file_sep>/src/main/java/SubStringTest.java
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;

public class SubStringTest {
    public static void main(String[] args) {
        ArrayList<String> arr1 = new ArrayList<>();
        Collections.addAll(arr1,"A1_B2_C3_D4","A1_B2","A1_B2_C4");
        System.out.println(arr1);
        System.out.println(arr1.contains("C4"));

        String string = "01A_02B_03C_04D";
        String[] str1 = string.split("_");
        System.out.println(Arrays.toString(str1));
        String x = "_";
        String str2 = "";
        for(int i = 0;i< str1.length;i++){
            str2 += str1[i]+x;
            System.out.println(str2.substring(0,str2.length()-1));
        }

    }
}
<file_sep>/src/test/java/DateTest.java
import java.sql.Timestamp;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @Author dell
 * @Date 2021/4/24 21:48
 * @Version 1.1
 */
public class DateTest {
    public static void main(String[] args) throws Exception {
        String a = "123123131jj1";
        try {
            if(Long.valueOf(a)/1000>100000000L && Long.valueOf(a)/1000<1000000000000L){
                System.out.println(Long.valueOf(a));
            }
        } catch (Exception e) {
            throw new Exception("参数有误");
        }
    }

}
<file_sep>/groovy0/src/groovyTest/TestLambda.java
package groovyTest;

public class TestLambda {
    public static void main(String[] args) {
        int x = 2;
    }
}
