摘要: public void replaceBlank(char string[],int length){ //防错处理 if(string == null || length<=0) return; //第一遍遍历,统计字符长度和空格数 int orignel_length=0; int countB 阅读全文
posted @ 2017-04-19 18:09 HeLing_CC 阅读(312) 评论(0) 推荐(0) 编辑
摘要: 懒汉式:需要实例的时候new public class Singleton_Lazy { private static Singleton_Lazy mSingleton; private Singleton_Lazy (){} private static Singleton_Lazy getIn 阅读全文
posted @ 2017-04-19 17:36 HeLing_CC 阅读(119) 评论(0) 推荐(0) 编辑