摘要: java8 lambda表达式 一些注意 首先需要将list或是数组Stream一下 stream of elements filter sorted map collect( Collectors.toList ) 例子: [4,3,2,1,6,7,8] map 输出: fliter 输出: re 阅读全文
posted @ 2019-06-04 14:10 木叶小寒江 阅读(270) 评论(0) 推荐(0) 编辑
摘要: Js中filter的使用 阅读全文
posted @ 2019-06-04 13:06 木叶小寒江 阅读(1082) 评论(0) 推荐(0) 编辑
摘要: 取出字符串最后一位 js代码 java代码 小结:用字符串的charAt(),传入字符串长度减一。 阅读全文
posted @ 2019-06-04 11:14 木叶小寒江 阅读(4590) 评论(1) 推荐(0) 编辑