随笔分类 - 代码片段
小工具
摘要:import java.math.BigDecimal; import java.text.DecimalFormat; /** * ClassName: NumUtil * Description: * date: 2018/8/31 下午4:18 * * @author chengluchao * @since JDK 1.8 */ public abstract cla...
阅读全文
摘要:/** * ClassName: Ip2Long * Description: ip和long互转 * date: 2019/4/16 5:53 PM * * @author chengluchao * @since JDK 1.8 */ public class Ip2Long { public static void main(String[] args) { ...
阅读全文
摘要:2 Collections.sort(List<T> list, Comparator<? super T> c); user类 输出结果: 1,user0022,user0043,user0064,user0015,user0035,user0056,user007
阅读全文