摘要:
1 /** 2 * 首字母变大写 3 * 4 * @param str 字符串 5 * @return {String} 6 */ 7 public static String firstCharToUpper(String str) { 8 char firstChar = str.charAt( 阅读全文
posted @ 2021-06-22 16:47
文所未闻
阅读(211)
评论(0)
推荐(0)
摘要:
1 public class DBTools { 2 3 private volatile boolean flag = false; 4 5 public synchronized void backupA(){ 6 try { 7 while(flag){ //当为true阻塞 8 this.w 阅读全文
posted @ 2021-06-22 12:51
文所未闻
阅读(74)
评论(0)
推荐(0)