最近看到一篇關於單例模式較為詳細的講解的文章:https://coolshell.cn/articles/265.html 下麵對此文章進行摘錄 (Java) // version 1.0 最為朴素的單例模式實踐; public class Singleton { private static Si ...
import org.apache.commons.lang.StringUtils; import org.junit.Test; public class Test{ //總結:isNotBlank()一定要裡面有東西 null,""," ",返回的都是false @Test public vo ...