摘要: maven工程: log4j.properties log4j.rootLogger=DEBUG,A1 log4j.logger.org.example=DEBUG log4j.appender.A1=org.apache.log4j.ConsoleAppender log4j.appender.A 阅读全文
posted @ 2020-12-31 23:06 我怎么这么好看 阅读(82) 评论(0) 推荐(0) 编辑
摘要: webmagic学习介绍:http://webmagic.io/docs/zh/ webmagic学习视频:https://www.bilibili.com/video/BV1cE411u7RA 一、maven工程 log4j.porperties log4j.rootLogger=INFO,A1 阅读全文
posted @ 2020-12-31 22:49 我怎么这么好看 阅读(186) 评论(0) 推荐(0) 编辑
摘要: simhash项目地址:https://github.com/CreekLou/simhash.git 这个项目不能直接使用,得改造,一般需要改造两个地方: 1、luecene的核心jar包版本与其他包及分词器ikanalyzer中使用的版本不一致,注意检查 此项目将核心包版本从3.6.1改为4.7 阅读全文
posted @ 2020-12-31 22:41 我怎么这么好看 阅读(306) 评论(0) 推荐(0) 编辑
摘要: 举一个例子其他雷同: int Integer String 一、int,String 转Integer(定义时) Integer a=new Integer(int value); Integer a=new Integer(String value); 二、String 转Integer Inte 阅读全文
posted @ 2020-12-31 22:18 我怎么这么好看 阅读(49) 评论(0) 推荐(0) 编辑
摘要: 1. forEach and Map普通方式遍历 Map Map<String, Integer> items = new HashMap<>(); items.put("A", 10); items.put("B", 20); items.put("C", 30); items.put("D", 阅读全文
posted @ 2020-12-31 22:03 我怎么这么好看 阅读(57) 评论(0) 推荐(0) 编辑
摘要: 一、基于基本数据类型的变量创建的数组: byte short int long double float char boolean 对于基本数据类型为: byte short int long 初始化为 0 对于基本数据类型为: double float 默认的为 0.0 boolean 对于基本数 阅读全文
posted @ 2020-12-31 22:00 我怎么这么好看 阅读(265) 评论(0) 推荐(0) 编辑