摘要: http://astah.net/ comparable接口 使用者通过实现compareTo方法来实现自己的排序策略 comparable 阅读全文
posted @ 2021-06-05 04:13 杨大德 阅读(31) 评论(0) 推荐(0)
摘要: 实现单例模式的八种方式 第一种: public class Mg01 { private static final Mg01 INSTANCE = new Mg01(); private Mg01() { } public static Mg01 getInstance() { return INS 阅读全文
posted @ 2021-06-05 02:08 杨大德 阅读(42) 评论(0) 推荐(0)