2015年9月24日

面向对象设计原则

摘要: 转自周天令:http://note.youdao.com/share/web/file.html?id=8649b7356868c46650a932283501112e&type=note1.单一职责原则2.开放 封闭原则3.里氏替换原则4.依赖倒置原则5.迪米特原则6.接口隔离原则面向对象设计原则... 阅读全文

posted @ 2015-09-24 15:44 开始、 阅读(206) 评论(0) 推荐(0)

md5加密--32位16进制小写

摘要: public class ttgameMd5 { public final static String MD5(String str) { char hexDigits[] = { // 用来将字节转换成 16 进制表示的字符 '0', '1', '2', '3',... 阅读全文

posted @ 2015-09-24 10:54 开始、 阅读(2451) 评论(0) 推荐(0)

导航