- 博客(2)
- 收藏
- 关注
转载 设置Git代理(git/ssh、http、https)
http协议代理 http git config --global http.proxy http://127.0.0.1:8888 socks git config --global http.proxy ‘socks5://127.0.0.1:1088’ https协议代理 http git config --global https.proxy http://127.0.0.1:8888 socks git config --global https.proxy ‘socks5
2021-12-09 10:53:17
964
1
转载 Java8Stream的flatmap方法使用
Java8Stream的flatmap方法使用 stream中的flatmap是stream的一种中间操作,它和stream的map一样,是一种收集类型的stream中间操作,但是与map不同的是,它可以对stream流中单个元素再进行拆分(切片),从另一种角度上说,使用了它,就是使用了双重for循环。 查看Stream源码中flatmap的方法定义: <R> Stream<R> flatMap(Function<? super T, ? extends Stre.
2021-03-04 13:23:26
1277
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人