摘要: 解决办法: 在每个新建的类的第一行加入以下内容即可/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE fi... 阅读全文
posted @ 2014-10-15 11:41 小鲲鲲 阅读(4702) 评论(0) 推荐(0)
摘要: kryo是用来序列化的第三方工具包(https://github.com/EsotericSoftware/kryo),速度相当快,包含10000个对象的集合序列化只需要140多ms,不多说,简单示例如下:public static byte[] convertToByteArray(Object ... 阅读全文
posted @ 2014-10-15 09:18 小鲲鲲 阅读(276) 评论(0) 推荐(0)