随笔分类 -  java

java
摘要:public class WriteFileUtil { /** * 向文件路径path写入内容context * @param path 文件路径 * @param context 写入内容 */ public static void write(String path,String contex 阅读全文
posted @ 2018-08-14 16:07 pretty flower 阅读(119) 评论(0) 推荐(0)
摘要:public class TestList { public static void main(String[] args){ List<Integer> list = new ArrayList<Integer>(); for(int i=0;i<12;i++) list.add(i); if(n 阅读全文
posted @ 2018-08-14 16:05 pretty flower 阅读(182) 评论(0) 推荐(0)
摘要:Map<Long, List<LogDataVo>> corpIdMap = list.stream().collect(Collectors.groupingBy(LogDataVo::getCorpId)); 阅读全文
posted @ 2018-08-14 15:46 pretty flower 阅读(106) 评论(0) 推荐(0)
摘要:public static ProductView getProductDetail(String id) { String path ="http://192.168.7.45:8080/Service/ws/product/detail/"+id; URL url = null; Pro... 阅读全文
posted @ 2014-11-19 15:42 pretty flower 阅读(182) 评论(0) 推荐(0)
摘要:String split 特殊字符 阅读全文
posted @ 2012-12-25 13:16 pretty flower 阅读(266) 评论(0) 推荐(0)