map转byte
public static byte[] getSerializedBytes(Map<String, Double> list) {
??if (null == list || list.size() < 0)
???return null;
??try {
???ByteArrayOutputStream bo = new ByteArrayOutputStream();
???ObjectOutputStream os = new ObjectOutputStream(bo);
???os.writeObject(list);
???return bo.toByteArray();
??} catch (IOException e) {
???return null;
??}
?}