2022-09-01から1日間の記事一覧
スネークケース(snake_case)からキャメルケース(camelCase)に変換するJavaのプログラムです。 public static String toCamelCase(String text) { if (text == null) { return null; } if ("".equals(text)) { return ""; } String[] words = text.split("_",…
スネークケース(snake_case)からキャメルケース(camelCase)に変換するJavaのプログラムです。 public static String toCamelCase(String text) { if (text == null) { return null; } if ("".equals(text)) { return ""; } String[] words = text.split("_",…