4241 Commits

Author SHA1 Message Date
Zjp
c5fa258079 1.新增NonNull(Function)、mapNonNull(Function);
2.flatMapIter名称修改为flatIter;
3.flatMap和flatIter主动过滤null元素;
2022-08-09 11:36:48 +08:00
emptypoint
f17b0a4166 1.删除多余文件;
2.调整注释位置;
2022-08-06 23:36:25 +08:00
emptypoint
25196520d6
!1 审查,优化
Merge pull request !1 from 阿超/cherry-pick-1659789195
2022-08-06 15:27:21 +00:00
阿超
dc3d45ac42 Merge branch 'FastStream-2' of gitee.com:emptypoint/hutool_study into cherry-pick-1659789195 2022-08-06 13:33:35 +00:00
achao
db0e590fb1 :trollface: 审查、优化 2022-08-06 21:28:05 +08:00
Zjp
3608f9dbe0 fixed fc8923b from https://gitee.com/VampireAchao/hutool/pulls/742
优化FastStream:
1.新增takeWhile、dropWhile方法;
2.优化部分写法, 希望进一步提高效率;
3.删除多余的代码, 移动部分代码到其他类中;
2022-08-06 12:33:18 +00:00
Looly
aa403cbe98 add test 2022-08-06 18:45:01 +08:00
Zjp
fc8923b2e9 优化FastStream:
1.新增takeWhile、dropWhile方法;
2.优化部分写法, 希望进一步提高效率;
3.删除多余的代码, 移动部分代码到其他类中;
2022-08-05 18:16:15 +08:00
Looly
18dd6da22b Merge branch 'v6-dev' of gitee.com:dromara/hutool into v6-dev 2022-08-05 16:23:10 +08:00
Looly
977c5a998a fix doc 2022-08-05 16:22:00 +08:00
Looly
2737a3cb77
!741 DatePattern 增加:注释,格式化字符串太多,比较散乱,不好理解,进行docs总结
Merge pull request !741 from dazer007/v6-dev
2022-08-05 08:21:51 +00:00
duandazhi
f9902311f9 DatePattern 增加:注释,格式化字符串太多,比较散乱,不好理解,进行docs总结 2022-08-05 11:54:22 +08:00
Looly
d8e63ab2f0 add test 2022-08-04 17:21:57 +08:00
Looly
65aecebd34
!737 1、ThreadUtil 增加:newPhaser;2、修改不准确注释;3、增加:Phaser、CountDownLatch最常用示例
Merge pull request !737 from dazer007/v6-dev
2022-08-04 09:08:56 +00:00
duandazhi
b9f2a91457 新增:new CyclicBarrier() 循环栅栏,同步辅助类 2022-08-04 16:29:48 +08:00
duandazhi
e3c6e4e2c7 fix错别字 2022-08-04 10:21:26 +08:00
duandazhi
e0d3f2e4c5 增加:newPhaser 2022-08-03 23:24:06 +08:00
duandazhi
24517f1403 CountDownLatch add example demo 2022-08-03 23:09:30 +08:00
duandazhi
570295d2bc 修改:CALLER_RUNS 描述不准确的问题 2022-08-03 22:39:30 +08:00
duandazhi
de692848bb BlockPolicy增加@link 2022-08-03 22:37:31 +08:00
Looly
215e3fd403
!735 【6.x】:trollface: 修改方法命名
Merge pull request !735 from 阿超/v6-dev
2022-08-02 08:44:46 +00:00
achao
040a039d10 :trollface: 修复注释 2022-08-02 10:01:14 +08:00
achao
65ea5c2066 :trollface: remove private 2022-08-02 09:57:25 +08:00
achao
236ebba3a8 :trollface: unshift 灵感来源:https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Array/unshift 2022-08-02 09:33:15 +08:00
Looly
e6c7dfa047
!734 优化FastStream实现细节, 使用更高效一些的写法;
Merge pull request !734 from emptypoint/FastStream
2022-08-01 15:44:33 +00:00
emptypoint
529c0beab4 修复of、push、addFirst方法中可变参为null时的问题; 2022-08-01 22:17:36 +08:00
Zjp
1bc419d72c 1.优化of(T)方法, 让其等价于ofNullable(T); 2022-08-01 17:54:12 +08:00
Zjp
f06162c1bd 1.删除多余的并行流设置, 补充缺失的设置;
2.删除多余代码;
2022-08-01 17:16:14 +08:00
Zjp
9a7367ffe1 优化FastStream实现细节, 使用高效一些的写法; 2022-08-01 16:25:07 +08:00
Looly
4f32f20ea9 fix comment 2022-07-29 23:41:36 +08:00
Looly
547941e1c9 fix code 2022-07-29 23:38:03 +08:00
Looly
14f09c2141 fix code 2022-07-29 23:10:25 +08:00
Looly
15772f1ec1 Merge branch 'v6-dev' of gitee.com:dromara/hutool into v6-dev 2022-07-29 23:05:39 +08:00
Looly
7769822e11 fix code 2022-07-29 23:05:20 +08:00
Looly
3ed99ff59c
!725 【6.x】新增FastStream,是对Stream的封装和拓展
Merge pull request !725 from 阿超/v6-dev
2022-07-29 15:05:10 +00:00
achao
c51ed6d3a1 修复注释里的Steam为FastStream,以及sub方法 2022-07-29 23:04:54 +08:00
VampireAchao
d66618651d FastStream!!! 2022-07-23 20:37:44 +08:00
Looly
a36a970341 add checkDumplicate 2022-07-22 17:36:52 +08:00
Looly
fa5763e03a add qrconfig 2022-07-22 17:30:54 +08:00
Looly
e7ed50a789 add des test 2022-07-21 12:05:10 +08:00
Looly
db05a423dc fix bug 2022-07-21 11:55:21 +08:00
Looly
32235d3b7e fix bug 2022-07-20 13:38:55 +08:00
Looly
28fde6ddcf 修复Dict缺少putIfAbsent、computeIfAbsent问题 2022-07-19 11:09:55 +08:00
Looly
faa6eebe52 add methods 2022-07-17 21:52:55 +08:00
Looly
700de56daa add methods 2022-07-17 21:39:26 +08:00
Looly
2c0194d86d remove TimeInterval 2022-07-17 19:22:13 +08:00
Looly
f94da98a20 change jo 2022-07-17 18:45:01 +08:00
Looly
94d5889b1c fix bug 2022-07-17 18:43:58 +08:00
Looly
49e40132ac fix comment 2022-07-17 00:43:06 +08:00
Looly
50fe0f4fce add methods 2022-07-17 00:38:22 +08:00