1:为日志查询cfgid查询条件添加最大输入10个id的判断

2:删除系统中的System.out.print
This commit is contained in:
renkaige
2018-12-19 13:03:32 +06:00
parent 5002f939a7
commit dc23300ac7
13 changed files with 116 additions and 159 deletions

View File

@@ -11,12 +11,6 @@ import java.util.List;
*/
public class AsciiJudge {
public static void main(String[] args) {
String str = "fdsf你说说你发的是佛山东方啥的飞sdf 啥打法是否(\\&)";
boolean bool = asciiControlChar(str);
System.out.println(bool);
}
/**
* 判断字符串是否包含控制字符
*

View File

@@ -7,12 +7,6 @@ import java.net.UnknownHostException;
import java.util.regex.Pattern;
public class BasicProvingUtil {
public static void main(String[] args) {
// String ip = "::";
String ip = " fe80::d025:864c:3151:daa0";
System.out.println(ip + "=" + isIpv6(ip));
}
/**
* 判断是否是Integer类型

View File

@@ -1020,26 +1020,4 @@ public class CompileVal {
}
public static void main(String[] args) {
long x = 2;
int count = 0;
for (int i = 1; i < 32; i++) {
count++;
x = x * 2;
}
System.out.println(count + " " + x);
long maxValue = Long.MAX_VALUE;
System.out.println(maxValue);
String key = "\\&国\\&人&民共和&国中央&中央人民政府";
String[] split = key.split("(?<=[^\\\\])&");
for (String str : split) {
System.out.println(str);
}
}
}

View File

@@ -261,18 +261,5 @@ public class ElasticsearchSqlDao {
}
}
/**
* main(这里用一句话描述这个方法的作用)
* (这里描述这个方法适用条件 可选)
* @param args
*void
* @exception
* @since 1.0.0
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
StringBuffer sf=new StringBuffer(" AND 1=1");
System.out.println(sf.delete(0, " AND".length()).toString());
}
}