04 2019 档案

摘要:在所有的设计模式中,单例模式是我们在项目开发中最为常见的设计模式之一,而单例模式有很多种实现方式,你是否都了解呢?高并发下如何保证单... 阅读全文
posted @ 2019-04-18 10:59 缘来是妳啊 阅读(55) 评论(0) 推荐(0)
摘要:public static void main(String[] args) throws IOException { ByteBuffer byteBuffer = ByteBuffer.allocate(1024); byteB... 阅读全文
posted @ 2019-04-11 18:08 缘来是妳啊 阅读(18) 评论(0) 推荐(0)
摘要:public static void main(String[] args) throws IOException { // 定义缓冲区大小 ByteBuffer byteBuffer = ByteBuffer.allocate(... 阅读全文
posted @ 2019-04-09 18:03 缘来是妳啊 阅读(63) 评论(0) 推荐(0)