比如:str=123abcdert345ytrfghh 把数字去掉。。str= abcdertytrfghh public class hello{ public static void main(string[] args){ string str="123abcdert345ytrfghh"; system.out.println(str.re..
使用completablefuture的静态工厂方法 /** * 测试异步调用 * */ @webservlet("/test") public class filepackagemanageaction extends httpservlet{ private static final long serialversionuid = -293988..
commons-lang3-3.x.jar 这个jar包里面的 org.apache.commons.lang3.stringescapeutils 类可以用来转义特殊字符,3.x之版本提示这个类已过时: multiple markers at this line - the type stringescapeutils is deprecated - t..
rollup是上卷功能,类似于数据挖掘中的上卷操作。 rollup的功能和order by功能是互斥的。 mysql> select year,sum(profit) from sales group by year; +------+-------------+ | year | sum(profit) | +------+-----------..
1. 测试是否允许远程连接 $ telnet 192.168.1.8 3306 host 192.168.1.4 is not allowed to connect to this mysql server 2. 允许特定客户端 ip 地址连接 $ mysql -u root -p enter password: mysql> use ..
import java.util.hashmap; import java.util.map; /** * 随机生成中文姓名,性别,email,手机号,住址 */ public class randomvalue { public static string base = "abcdefghijklmnopqrstuvwxyz0123456789"; pri..