![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java - 技术知识
qq_39169359
这个作者很懒,什么都没留下…
展开
-
JAVA技术点
loadrunner安装和破解:https://www.cnblogs.com/yafang/p/5860097.html web实现跨域 :http://blog.csdn.net/poisions/article/details/51459307 oracle查看编码和修改编码:http://blog.csdn.net/angus_17/article/details/7762原创 2018-02-07 18:12:59 · 149 阅读 · 0 评论 -
java对象数组去重排序
对于List去重的方法: 在对象中重写equals和hashCode方法: @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; ShippingCostVo原创 2018-02-07 18:25:39 · 2428 阅读 · 0 评论 -
java获取图片的信息
1:获取本地图片大小File picture=new File(strSrc);BufferedImage sourceImg=ImageIO.read(new FileInputStream(picture));2:获取网络图片大小BufferedImage sourceImg=ImageIO.read(new URL(strSrc).openStream());sourceImg.getWid...原创 2018-05-23 11:00:07 · 1285 阅读 · 0 评论 -
JSON忽略指定属性
FastJson的使用方法:在bean中的定义属性上面使用注解@JSONField ,然后JSON.toJSONString()返回即可使用SimplePropertyPreFilter指定序列化字段:SimplePropertyPreFilter filter = new SimplePropertyPreFilter(Bean.class, "FieldName"); 然后JSON.toJSO...原创 2018-06-21 14:34:06 · 2101 阅读 · 0 评论