06 2023 档案
摘要:方法1 /** * 汉语中数字大写 */ private static final String[] CN_UPPER_NUMBER = { "零", "壹", "贰", "叁", "肆", "伍", "陆", "柒", "捌", "玖" }; /** * 汉语中货币单位大写,这样的设计类似于占位符
阅读全文
摘要:1 /** 2 * 驼峰式命名法 例如:user_name->userName 3 * 4 * @param s 5 * @return 6 */ 7 public static String toCamelCase(String s) { 8 if (s == null) { 9 return n
阅读全文
摘要:import java.util.List; public class ListUtils { /** * 取list中某一段连续元素 * * @param list * @param beginIndex * @param endIndex * @return */ public static <
阅读全文