摘要:
一、引子: 项目中使用Gson的反序列化将json转化成具体的对象,具体方法是: package com.google.gson;下的反序列化方法 参数<T> :the type of the desired object 参数json:要被反序列化的json数据; 参数typeOfT:指定的通用类 阅读全文
摘要:
关于sigar的介绍可以参考这边博文 :https://www.cnblogs.com/luoruiyuan/p/5603771.html 在Linux上运行java程序时出现 no libsigar-amd64-linux.so in java.library.path 这个错误时只需将两个文件拷 阅读全文
摘要:
一、概念 StringBuffer A thread-safe, mutable sequence of characters. A string buffer is like a {@link String}, but can be modified. 源码开头的一句话:线程安全的,可变字符顺序。 阅读全文