package exampleColl;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import testMysql.MysqlConnect;
import java.util.Collections;
import java.util.LinkedList;
import static TestExp.TestUnicode.replaceParam;
import static testMysql.MysqlConnect.createCon;
import static testMysql.MysqlConnect.hasResult;
public class NumParam {
static String total="";
static int xH=0;
public static Logger log= LogManager.getLogger(NumParam.class);
public void mainSZ(String... param){
for (int i = 0; i <= param.length-1; i++) {
log.info(param.length+",当前长度"+i);
total += param[i];
}
log.info("mainSZ-完整内容:"+total);
}
public static void mainLB(String[] myList) {
for (int i = 0; i <= myList.length-1; i++) {
//log.info(myList.length+",当前长度"+i);
total += myList[i];
}
log.info("mainLB-完整内容:"+total);
}
public static void main(String[] args) {
NumParam numParam=new NumParam();
String p0="小";
String p1="仔";
String p2="你";
String p3="还";
String p4="敢";
String p5="跑";
String p6="别";
String p4p1="。";
LinkedList strHH=new LinkedList<>();
Collections.addAll(strHH, null,"小","","","凤","像","敢","飞","别","跑","爱","","你","若","来","","云","台","襄","天","好",null,"");
for(xH=0;xH