11 2018 档案

摘要:List<Person> persons=list.stream().filter(e-> e.getType()==7&&e.id()==5).sorted((o1, o2) -> o2.getAmount()-o1.getAmount()).collect(Collectors.toList() 阅读全文
posted @ 2018-11-23 10:48 暗夜飞羽睿 阅读(102) 评论(0) 推荐(0)
摘要:今天我们来看看这个类 有些写法还是很经典的 阅读全文
posted @ 2018-11-21 13:37 暗夜飞羽睿 阅读(753) 评论(0) 推荐(1)
摘要:/** * * @Description: 带权随机 * * @param * * @return * * @throws * * @author R.Z */ private int randomWithWeight(Map<Integer, Integer> resultMap) { List< 阅读全文
posted @ 2018-11-16 15:10 暗夜飞羽睿 阅读(231) 评论(0) 推荐(0)
摘要:今天闲着给自己的网站申请了一个免费证书,顺便复习下SSL/TLS协议 (https 就是在http+ssl协议) SSL介绍: 安全套接字(Secure Socket Layer,SSL)协议是Web浏览器与Web服务器之间安全交换信息的协议,提供两个基本的安全服务:鉴别与保密。 SSL是Netsc 阅读全文
posted @ 2018-11-10 16:59 暗夜飞羽睿 阅读(2085) 评论(0) 推荐(0)
摘要:果然不出所料,搭建起来就有坑 ,客户端经典的connection 11911的错误 在我的环境上解决方法加一行配置 brokerClusterName = DefaultClusterbrokerName = broker-abrokerId = 0deleteWhen = 04fileReserv 阅读全文
posted @ 2018-11-09 20:25 暗夜飞羽睿 阅读(340) 评论(0) 推荐(0)