public class ConversionUtils {
private static ConversionUtils conversionUtils;
private ConversionUtils() {
}
public static ConversionUtils getInstance() {
if (conversionUtils == null) {
synchronized (ConversionUtils.class) {
if (conversionUtils == null) {
conversionUtils = new ConversionUtils();
}
}
}
return conversionUtils ;
}
public String camel2Underline(String line) {
return "";
}
}
Java 懒汉式创建工具类
最新推荐文章于 2022-04-04 14:57:32 发布