摘要: 享元模式 主要用于减少创建对象的数量,以减少内存占用和提高性能。 private static Message sPool; private static int sPoolSize = 0; private static final int MAX_POOL_SIZE = 50; public s 阅读全文
posted @ 2020-08-27 11:40 用户72093285 阅读(102) 评论(0) 推荐(0)