摘要:
1 /** 2 * 首字母变大写 3 * 4 * @param str 字符串 5 * @return {String} 6 */ 7 public static String firstCharToUpper(String str) { 8 char firstChar = str.charAt( 阅读全文
摘要:
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 阅读全文