Commit Graph

2616 Commits

Author SHA1 Message Date
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
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
fa5763e03a add qrconfig 2022-07-22 17:30:54 +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
2c0194d86d remove TimeInterval 2022-07-17 19:22:13 +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
Looly
26acf5bf24 fix bug 2022-07-16 23:52:15 +08:00
Looly
df9050026e add isIn 2022-07-16 23:48:45 +08:00
Looly
ced4e50334
!692 用StreamUtil实现PredicateUtil,补全单测,抑制泛型参数警告
Merge pull request !692 from 阿超/v6-dev
2022-07-16 15:13:13 +00:00
Looly
a098b1e9d8 fix bug 2022-07-16 23:13:00 +08:00
Looly
681535c575 fix code 2022-07-16 22:46:31 +08:00
achao
8a517a7f04 优化PredicateUtil,补全单测,抑制泛型参数警告 2022-07-09 22:40:34 +08:00
Looly
e38f9bf9b8 add methods 2022-07-09 14:38:27 +08:00
Looly
31e5eead89 fix code 2022-07-09 13:27:36 +08:00
Looly
73ee346bb6 add methods 2022-07-05 23:23:13 +08:00
Looly
b35e0981ec add methods 2022-07-05 23:20:36 +08:00
Looly
440e3ebc2a add methods 2022-07-05 22:59:49 +08:00
achao
26cf1ba18f 新增CollectorUtil.reduceListMap(),用于聚合集合中的 每一个map 为一个大map Collection<Map<K,V>> => Map<K,List<V>> 2022-07-03 19:05:57 +08:00
VampireAchao
fec797aa86 Merge remote-tracking branch 'origin/v6-dev' into v6-dev 2022-07-03 17:38:38 +08:00
achao
9538041ac5 处理Collectors遇到null的情况 2022-07-03 17:35:54 +08:00
Looly
768c4a392d add isIn 2022-06-30 18:35:59 +08:00
Looly
7646683785 add testr 2022-06-30 17:47:23 +08:00
Looly
2bcb8f3f79 add methods 2022-06-29 19:09:59 +08:00
Looly
40748eaa0d
!666 修复:ConcurrencyTester默认线程池太大,导致:测试用例:oom (java.lang.OutOfMemoryError)的问题
Merge pull request !666 from dazer007/v6-dev-concurrencyTester-threadSize-too-big
2022-06-29 10:59:58 +00:00
Looly
56bc948d99 add methods 2022-06-29 18:58:53 +08:00
Looly
c56959fe7a add methods 2022-06-29 18:48:58 +08:00
Looly
576860f878
!668 StrUtil.isAllBlank() 支持数支持List
Merge pull request !668 from dazer007/v6-dev-StrUtil_isAllBlank-support-list
2022-06-29 10:37:12 +00:00
duandazhi
2cb7d774c9 isAllBlank 修改: Collection<? extends CharSequence> 2022-06-28 19:05:55 +08:00
duandazhi
e4737f0a5d add more StrUtilTest 2022-06-28 17:29:14 +08:00
duandazhi
f0707cee77 add isAllBlank(final Collection<String> strs) 2022-06-28 17:02:51 +08:00
VampireAchao
57cf8264c9 导入扁平化 2022-06-28 16:40:02 +08:00
VampireAchao
2a34337952 CharSequence修正为泛型 2022-06-28 16:34:59 +08:00
duandazhi
e327458eb6 fix ConcurrencyTester thread size too large, 可能会 java.lang.OutOfMemoryError 2022-06-28 14:56:35 +08:00
Looly
d6ac2ef4bc fix bug 2022-06-27 21:26:16 +08:00
Looly
7bd0602219 add method 2022-06-26 23:47:13 +08:00
Looly
3df784b1cf fix code 2022-06-23 18:30:55 +08:00
Looly
3085d29f51 add test 2022-06-23 12:11:07 +08:00
Looly
4417e5cd00 fix code 2022-06-23 11:41:55 +08:00
Looly
26079dbb29 fix comment 2022-06-23 10:46:50 +08:00
Looly
28ce133e4b fix converter 2022-06-23 10:38:23 +08:00
Looly
62fbbfaefd fix code 2022-06-22 19:03:35 +08:00
Looly
7986acb5e6
!663 【6.x】维护Opt
Merge pull request !663 from 阿超/v6-dev
2022-06-22 10:54:58 +00:00
VampireAchao
42b0820129 改为CharSequence 2022-06-22 18:47:10 +08:00
achao
173211eaef 使用equals避免int值比较错误 2022-06-22 17:17:37 +08:00
VampireAchao
d6118fe057 Opt修改
* ofBlankAble入参和泛型改为String
* ofEmptyAble额外判断集合内元素全部为null的情况
* peek直接调用ifPresent
* peeks改为可爱的写法
- 移除名字太长的ifPresentOrElse
- 移除没有必要的orElseThrow(Function,String)
+ 新增orElseRun,对应一些不满足条件时调用的简单而又无返回值操作
2022-06-22 12:29:29 +08:00
Looly
beb3dd248d fix code 2022-06-21 20:08:58 +08:00
Looly
bddb24711e fix code 2022-06-21 19:53:26 +08:00
Looly
481281f700 fix code 2022-06-21 19:52:56 +08:00
Looly
1ee014bdae fix code 2022-06-21 18:42:52 +08:00
Looly
891e36d888 add test 2022-06-21 18:18:21 +08:00
Looly
e74b99a558 fix test 2022-06-20 21:20:54 +08:00
Looly
4351dbc470 fix code 2022-06-20 21:02:38 +08:00
Looly
9dbb4cf85c fix code 2022-06-20 21:00:56 +08:00
Looly
270bec0f37 fix code 2022-06-20 18:52:19 +08:00
Looly
1a0d7b51a7 fix code 2022-06-20 12:34:40 +08:00
Looly
bd74cdb078 fix code 2022-06-19 11:58:47 +08:00
Looly
8e61da83b9 fix code 2022-06-18 23:42:51 +08:00
Looly
0964bb06fc fix code 2022-06-18 23:28:05 +08:00
Looly
76fa10ec74
!659 LambdaUtil入参改为泛型,能通过在方法指定泛型
Merge pull request !659 from 阿超/v6-dev
2022-06-18 15:18:55 +00:00
Looly
e9cf532af0 fix code 2022-06-18 23:03:06 +08:00
VampireAchao
922d460fbe LambdaUtil入参改为泛型,能通过在方法指定泛型 2022-06-18 22:32:49 +08:00
Looly
b0ed5bea9a fix code 2022-06-18 22:12:20 +08:00
Looly
3f678427b3 fix code 2022-06-18 22:03:45 +08:00
Looly
08b6716ca7 fix code 2022-06-18 20:50:01 +08:00
Looly
103738d9ef fix code 2022-06-18 14:04:20 +08:00
Looly
4ebec434a1 fix code 2022-06-18 12:32:51 +08:00
Looly
2d72e54deb fix code 2022-06-18 11:02:18 +08:00
Looly
3697525b6a fix code 2022-06-16 19:48:55 +08:00
Looly
40ff9f051e fix code 2022-06-16 19:19:56 +08:00
Looly
e491349b81 fix code 2022-06-16 17:49:37 +08:00
Looly
7cf1b3758d add methods 2022-06-16 13:36:07 +08:00
Looly
fe36cd36e6 add test 2022-06-15 09:33:27 +08:00
Looly
90f9298370 fix 2022-06-10 22:38:38 +08:00
Looly
abea2f5739 add test 2022-06-10 21:28:08 +08:00
Looly
c2c67338e7 fix doc 2022-06-10 16:11:44 +08:00
Looly
64f801998b add webp support 2022-06-09 12:03:20 +08:00
Looly
f918a9c2e2 add webp support 2022-06-09 12:00:30 +08:00
Looly
486758b0e3 fix 2022-06-08 15:59:51 +08:00
阿超
68d6116212 Merge branch 'v6-dev' of gitee.com:dromara/hutool into v6-dev 2022-06-07 15:19:45 +00:00
achao
43fd06fc62 新增ReflectUtil.getDescriptor获取单个class的描述符重载,完善测试用例和注释信息 2022-06-07 23:13:41 +08:00
Looly
f33783ac1d fix comment 2022-06-07 15:38:36 +08:00
Looly
9b9b35ffc2 fix 2022-06-07 15:31:55 +08:00
Looly
084870261f del methdos 2022-06-07 13:58:24 +08:00
Looly
2dbfb5a8cc fix code 2022-06-07 13:06:55 +08:00
Looly
c914574c30 remove JSONNull 2022-06-07 11:55:28 +08:00
Looly
f985887406 fix test 2022-06-07 10:41:00 +08:00
Looly
886a865aac fix code 2022-06-07 10:18:40 +08:00
Looly
9f41698647
!641 bug fix
Merge pull request !641 from 阿超/v6-dev
2022-06-07 01:44:39 +00:00
Looly
e3d5c2756c fix converter 2022-06-07 09:23:27 +08:00
Looly
1473d4625f fix code 2022-06-07 00:46:53 +08:00
achao
ec75edb48d bug fix 2022-06-06 23:41:39 +08:00
achao
fa3dfcdf79 完善注释和描述,添加ReflectUtil.getDescriptor测试用例,优化appendDescriptor 2022-06-06 12:48:56 +08:00
Looly
be32d5f9b6 fix lambda 2022-06-06 02:06:55 +08:00
Looly
97614d1276
!636 【6.x】重构LambdaUtil
Merge pull request !636 from 阿超/v6-dev
2022-06-05 17:51:51 +00:00
Looly
73bca54b54 fix bug 2022-06-06 01:24:03 +08:00
Looly
1d32b0862d fix json bug 2022-06-06 00:45:50 +08:00
Looly
6fcb3cd666 add method 2022-06-05 23:35:35 +08:00
Looly
b9738afef9 fix null 2022-06-05 23:20:00 +08:00
achao
08ecda4cd2 新增对instantiatedType数组的支持 2022-06-04 13:50:28 +08:00
VampireAchao
03fd58d455 Merge remote-tracking branch 'origin/v6-dev' into v6-dev 2022-06-04 01:18:49 +08:00
achao
d5174b6b64 完善LambdaUtil 2022-06-04 01:18:41 +08:00
achao
ccc71cd61a 精简LambdaUtil 2022-06-04 00:43:30 +08:00
achao
c4a2be8120 重构LambdaUtil,强化原有的SerializedLambda缓存为自定义LambdaInfo,该类额外存储了lambda反射类,且可以获取到lambda中使用的外部变量参数;额外在ReflectUtil新增了部分函数,用于获取描述符 2022-06-04 00:22:27 +08:00
Looly
8fef1ca19f fix code 2022-06-01 12:10:34 +08:00
Looly
191261b42d add testr 2022-05-31 21:53:07 +08:00
Looly
811c1f1025 add pptx suoort 2022-05-30 17:43:51 +08:00
Looly
28a565da25 fix bug 2022-05-30 07:49:47 +08:00
Looly
e1437f9b65 fix code 2022-05-27 20:13:20 +08:00
Looly
705f65a207 add null check 2022-05-27 18:03:50 +08:00
Looly
66fe842140 fix code 2022-05-27 17:50:03 +08:00
Looly
b404b11b0b fix code 2022-05-26 12:03:20 +08:00
Looly
d368b76586 fix re 2022-05-24 17:25:57 +08:00
Looly
e8e99f6559 fix bug 2022-05-24 10:57:46 +08:00
Looly
de75ff8e63 add methods 2022-05-23 10:39:03 +08:00
Looly
117e24cd51 fix bug 2022-05-20 11:59:21 +08:00
Looly
738ebe5a08 add test 2022-05-20 11:40:07 +08:00
Looly
b5619fefbd add null check 2022-05-20 11:33:56 +08:00
Looly
858be6aafa fix bug 2022-05-18 10:35:31 +08:00
Looly
95f00b8712 support hex 2022-05-16 18:58:04 +08:00
Looly
ef64cc9a41 add method 2022-05-16 15:35:26 +08:00
Looly
4ab19a303c add methods 2022-05-16 09:58:25 +08:00
Looly
d52470e8e7 fix coide 2022-05-16 09:42:43 +08:00
Looly
0da39cfd9d fix code 2022-05-12 01:38:18 +08:00
Looly
5c31ecf526 add class 2022-05-12 01:30:51 +08:00
Looly
9835d1bd80 fix code 2022-05-12 00:47:19 +08:00
Looly
eaa80f55a6 remove pair 2022-05-12 00:30:40 +08:00
Looly
1661ec42bd add methods 2022-05-10 18:08:46 +08:00
Looly
d7b3be9183 fix comment 2022-05-10 18:05:43 +08:00
Looly
435bd27346 fix code 2022-05-09 18:47:02 +08:00
Looly
a727984f38 fix code 2022-05-09 11:51:45 +08:00
Looly
fddaf71a8b add class 2022-05-07 13:50:26 +08:00
Looly
36d75d7030 fix code 2022-05-07 13:24:02 +08:00
Looly
029a603d5f add SetUtil 2022-05-07 12:18:29 +08:00
Looly
322b240ee0 add methods 2022-05-07 08:33:13 +08:00
Looly
662bfbe007 fix code 2022-05-07 08:24:59 +08:00
Looly
78a5c53d98 add methods 2022-05-05 11:52:51 +08:00
Looly
fa9d095e4e fix code 2022-05-05 11:45:58 +08:00
Looly
77f2cedf76 add methods 2022-05-05 01:20:12 +08:00
Looly
663be40590 fix code 2022-05-05 00:55:02 +08:00
Looly
29255272b5 fix code 2022-05-05 00:48:58 +08:00
Looly
6d7d350886 add MethodUtil 2022-05-05 00:24:08 +08:00
Looly
140e1d546f add method 2022-05-04 23:54:57 +08:00
Looly
4209cffa06 remove StrBuilder 2022-05-04 23:44:59 +08:00
Looly
50e6afc59a remove methods 2022-05-01 23:30:26 +08:00
Looly
6c8fb79b38 remove methods 2022-05-01 23:15:52 +08:00
Looly
9a1ffb25ff fix code 2022-04-30 20:59:02 +08:00
Looly
ca094ca4a8 fix code 2022-04-30 20:47:32 +08:00
Looly
dea8344d91 fix code 2022-04-30 19:45:32 +08:00
Looly
d368fb1949 change package 2022-04-30 12:56:38 +08:00
Looly
a9c4592663 remove invalid 2022-04-30 12:37:10 +08:00
Looly
8034289b6f change package 2022-04-30 11:58:57 +08:00
Looly
5819892842 fix code 2022-04-29 02:36:19 +08:00
Looly
98e3b9cfc5 fix code 2022-04-29 02:28:54 +08:00
Looly
216c1966b7 fix code 2022-04-29 02:09:18 +08:00
Looly
67a0f31dd9 fix code 2022-04-29 01:56:04 +08:00
Looly
c753a53173 fix code 2022-04-29 01:46:01 +08:00
Looly
b2f0dc7b0f Merge branch 'v6-dev' of gitee.com:dromara/hutool into v6-dev 2022-04-29 00:33:03 +08:00
Looly
620b493ebc fix code 2022-04-29 00:32:45 +08:00
Looly
92b892891f fix code 2022-04-28 12:08:29 +08:00
Looly
9285ccbd5f fix code 2022-04-28 03:47:26 +08:00
Looly
ddfa178882 fix code 2022-04-28 03:45:06 +08:00
Looly
c65d51b87e fix code 2022-04-28 03:35:07 +08:00
Looly
351c841de0 fix code 2022-04-28 03:32:01 +08:00
Looly
75be3ebae4 fix code 2022-04-28 03:31:23 +08:00
Looly
8e2c06c671 fix code 2022-04-28 03:20:23 +08:00
Looly
17cd183722 remove methods 2022-04-28 03:14:54 +08:00
Looly
b21f650474 change method name 2022-04-28 02:03:16 +08:00
Looly
dca95552a8 change method name 2022-04-28 01:59:51 +08:00
Looly
af1d615ca9 remove deprecated 2022-04-28 01:51:06 +08:00
Looly
d78219c60c 6.x 2022-04-28 01:30:17 +08:00
Looly
d874b4282d fix #I54TZ9 2022-04-27 23:26:11 +08:00
Looly
3329d60fff add test 2022-04-27 18:34:57 +08:00
Looly
0adf6a5382 prepare 5.8.0.m5 2022-04-27 16:16:16 +08:00
Looly
3896b9d675 fix code 2022-04-27 16:02:57 +08:00
Looly
416c73e05b remove 2022-04-27 15:59:07 +08:00
Looly
537d72323c fix comment 2022-04-27 15:05:51 +08:00
Looly
8e797bd9c1 add ansi 2022-04-27 13:49:31 +08:00
Looly
c2cdbb16f8 fix bug 2022-04-27 11:25:04 +08:00
Looly
d4779655ad
!602 Tailer当文件内容为空时,会报异常
Merge pull request !602 from 熊毅/v5-dev
2022-04-27 03:23:59 +00:00
Looly
f118bf8e7e add predicate for CombinationAnnotationElement 2022-04-27 11:22:31 +08:00
Looly
780d974f12 Merge branch 'v5-dev' of gitee.com:dromara/hutool into v5-dev 2022-04-27 09:31:36 +08:00
Looly
835e450c3c add StrTemplate 2022-04-27 09:31:29 +08:00
李鸿达
562e77e438 fixed 7dbc9e9 from https://gitee.com/yixi-dlmu/hutool/pulls/603
新增可获取重复性注解方法
2022-04-26 13:46:39 +00:00
xiongyi
43c0cf0a0b Tailer当文件内容为空时,会报异常,添加防止空指针 2022-04-26 16:07:35 +08:00
Looly
d3f7fdcdd5 add test 2022-04-26 11:16:23 +08:00
Looly
82f5b2b154 gts 2022-04-25 17:23:31 +08:00
Looly
940d1cbe31 fix code 2022-04-25 16:04:49 +08:00
Looly
cce26f9bb0 fix comment 2022-04-25 15:53:36 +08:00
Looly
1bed879499 add Hashids 2022-04-25 13:13:11 +08:00
Looly
ca03fb3411 add test 2022-04-24 14:21:20 +08:00
Looly
913e97c272 add tesrt 2022-04-24 11:37:37 +08:00
Looly
7ad9253250 fix doc 2022-04-21 18:02:19 +08:00
duandazhi
126b1c76b6 CHINESE_NAME中国人姓名,正则放宽限制,否则:生僻字的姓名无法通过 2022-04-20 15:44:47 +08:00
Looly
7380d5ce91 add test 2022-04-19 19:10:38 +08:00
Looly
befd56bbdb add test 2022-04-19 19:04:38 +08:00
Looly
1c273c7d4c fix readme 2022-04-18 20:39:22 +08:00
Looly
3b8682528a add README 2022-04-18 20:31:21 +08:00
Looly
c57ecead27 fix code 2022-04-17 17:56:53 +08:00
Looly
992477f521 add map 2022-04-17 16:19:16 +08:00
Looly
7e36d0f076 add method 2022-04-17 08:53:43 +08:00
Looly
f5a44bca73 fix code 2022-04-16 08:47:11 +08:00
Looly
f23ec7eb16 fix code 2022-04-16 08:13:37 +08:00
Looly
50abb8f6a6 add method 2022-04-15 06:20:47 +08:00
Looly
70976fd9fa 5.8.0.M4 2022-04-14 01:59:37 +08:00
Looly
46594efbcc fix code 2022-04-14 00:47:05 +08:00
Looly
11d7d8c092 add TypeConverter 2022-04-13 23:28:42 +08:00
Looly
c2707b6180 add check 2022-04-13 17:27:44 +08:00
Looly
a938455c2e add test 2022-04-13 17:23:24 +08:00
Looly
77f4d529fa add methods 2022-04-13 11:42:52 +08:00
Looly
d890d60b14 add methods 2022-04-13 00:30:01 +08:00
Looly
c1fc2cfc85
!595 添加给图片添加全屏文字水印的方法
Merge pull request !595 from lxychlu/v5-dev
2022-04-12 14:58:42 +00:00
Looly
ca1563ee34 add pid 2022-04-12 14:06:24 +08:00
liuxy
9edf1d2acc 添加给图片添加全屏文字水印的方法 2022-04-11 16:13:15 +08:00
liuxy
ffac908649 添加给图片添加全屏文字水印的方法 2022-04-11 16:10:34 +08:00
Looly
ec1edde42c add test 2022-04-10 21:51:20 +08:00
Looly
eff60f0c86 fix code 2022-04-10 21:07:56 +08:00
Looly
f471677761 fix SimpleCache 2022-04-10 19:26:48 +08:00
Looly
af977ac3d4 fix weak bug 2022-04-10 18:30:07 +08:00
Looly
477657ffb8 fix code 2022-04-10 15:45:02 +08:00
Looly
e4f713a162
!594 StreamProgress进度条添加总大小值回调
Merge pull request !594 from 追风/v5-dev
2022-04-10 07:29:19 +00:00
Looly
f9a3cf7b23 fix bg 2022-04-10 15:24:14 +08:00
Looly
569877e0ef fix null bug 2022-04-10 11:18:54 +08:00
xufeng
12ce19ff12 添加Stream进度条中总大小回调 2022-04-09 13:22:57 +08:00
Looly
2b79119c00 fix bug 2022-04-08 21:36:45 +08:00
Looly
8dbeb7c90f fix code 2022-04-08 16:18:25 +08:00
VampireAchao
34435c5e61 fix issues/I51MEM 新增自定义ClassLoader构造器 2022-04-08 13:24:17 +08:00
Looly
72a8e3740c fix code 2022-04-08 08:12:33 +08:00
Looly
b419d8e5f5 fix comment 2022-04-07 15:55:11 +08:00
Looly
a607558842 fix comment 2022-04-07 01:28:23 +08:00
Looly
d415696e01 add randomSequence support 2022-04-06 23:50:56 +08:00
Looly
552357cc4e add re 2022-04-06 22:50:57 +08:00
duandazhi
6b61efd869 Validator 增加:中国人姓名正则校验 2022-04-06 19:13:37 +08:00
Looly
6e3e5e9d16 fix code 2022-04-06 17:23:10 +08:00
Looly
75ec4a5cf6 fix code 2022-04-06 11:11:31 +08:00
Looly
58c7c688ae add methods 2022-04-06 09:46:44 +08:00
lqc
40bfd39407 [新特性] CopyOptions支持以Lambda方式设置忽略属性列表 2022-04-04 22:13:17 +08:00
Looly
5612ef275c prepare 5.8.0.M3 2022-04-02 01:04:21 +08:00
Looly
e750c92f60 fix comment 2022-04-02 00:48:49 +08:00
Looly
9a953b2a03 fix comment 2022-04-02 00:34:49 +08:00
Looly
dedb7de162 fix comment 2022-04-02 00:29:40 +08:00
Looly
0986e60a7c fix bug 2022-04-01 12:10:09 +08:00
Looly
2fce7eab06 fix bug 2022-04-01 11:34:30 +08:00
Looly
1186a07da5 fix code 2022-03-31 22:18:50 +08:00
Looly
7baccb4c20 fix comment 2022-03-31 21:51:07 +08:00