摘要: 参考博客:https://blog.csdn.net/qq_33316784/article/details/88563482 zookeeper下载地址:https://archive.apache.org/dist/zookeeper/zookeeper-3.4.8/ 解压到常用的安装目录 将c 阅读全文
posted @ 2021-07-26 22:17 秋秋2021 阅读(364) 评论(1) 推荐(0)
摘要: 转载:https://blog.csdn.net/qq_41657977/article/details/107808080 阅读全文
posted @ 2021-07-26 17:38 秋秋2021 阅读(29) 评论(0) 推荐(0)
摘要: 两个字符串比较,不区分大小写,如,比较 abcde 和 ABCDE 是否相等,如果用equals,是区分大小写的,会返回false;如果用 equalsIgnoreCases则会返回true String strA = "abcde"; String strB = "ABCDE"; boolean 阅读全文
posted @ 2021-07-19 11:37 秋秋2021 阅读(1101) 评论(0) 推荐(0)
摘要: 将字符串反转,比如 abc,输出cba String str = "qwertyuiop"; StringBuffer newStr = new StringBuffer(str); String result = newStr.reverse().toString; 输出:poiuytrewq 阅读全文
posted @ 2021-07-19 11:27 秋秋2021 阅读(2093) 评论(0) 推荐(0)