Commit Graph

1876 Commits

Author SHA1 Message Date
Looly
95854cddb1 add options 2021-11-26 21:31:55 +08:00
scruel
d3f2f85d1a fix doc typo 2021-11-26 14:45:23 +08:00
Looly
845f910836 !471 身份证工具类,增加对 gang||ao|tai|` 在大陆身份证 的 文档说明; 大陆用户 对 810000、820000、830000 开通的18位身份证 往往比较陌生。
Merge pull request !471 from dazer007/v5-dev
2021-11-25 09:48:01 +00:00
looly
e57a927c9b fix code 2021-11-25 17:45:18 +08:00
duandazhi
d5eabab63e 身份证工具类,增加对 港澳台 在大陆身份证 的 文档说明; 大陆用户 对 810000、820000、830000 开通的18位身份证 往往比较陌生。 2021-11-25 16:59:39 +08:00
Looly
99763a32b3 ignore bridge 2021-11-24 23:44:17 +08:00
Looly
30515f0351 add method 2021-11-24 23:10:59 +08:00
looly
ff8317dd8c fix code 2021-11-24 15:39:31 +08:00
sunhao
b2804a15c2 修复bug【并发测试后未关闭线程池】、删除部分无意义注释 2021-11-24 11:09:44 +08:00
looly
612884e0f6 fix code 2021-11-24 09:35:50 +08:00
bob.guo
7add03c7b3 Merge remote-tracking branch 'origin/v5-dev' into v5-dev 2021-11-23 15:25:14 +08:00
Looly
9818263d30 add methods 2021-11-21 05:23:41 +08:00
Looly
42fbf36042 fix code 2021-11-21 04:50:48 +08:00
looly
490e512975 fix bug 2021-11-20 17:08:28 +08:00
looly
60a8fd48f5 Merge branch 'v5-dev' of gitee.com:dromara/hutool into v5-dev 2021-11-20 16:38:57 +08:00
looly
a1d2c30526 fix code and add test 2021-11-20 16:38:40 +08:00
bob.guo
e6d85ccd75 除数和被除数任意一个为0 会抛出Exception in thread "main" java.lang.ArithmeticException: / by zero 异常 2021-11-19 16:46:52 +08:00
bob.guo
055e429229 除数和被除数任意一个为0 会抛出Exception in thread "main" java.lang.ArithmeticException: / by zero 异常 2021-11-19 16:45:51 +08:00
Looly
6ed8588c83 add cache 2021-11-19 00:32:51 +08:00
Golden Looly
9a756eb4b1
Merge pull request #1959 from lzpeng723/v5-dev
由于 FileObjectResource 的流不能读取多次,ResourceClassLoader 增加缓存,同一个类只能加载一次
2021-11-19 00:05:18 +08:00
Looly
6588db7841 add methods 2021-11-18 23:50:37 +08:00
Looly
846934b4a3 !467 添加CollStreamUtil并行流相关实现
Merge pull request !467 from 阿超/v5-dev
2021-11-18 15:31:36 +00:00
lzpeng723
01c510c65e
Merge branch 'dromara:v5-dev' into v5-dev 2021-11-18 17:40:56 +08:00
VampireAchao
8b3f346742 添加CollStreamUtil并行流相关实现 2021-11-18 17:33:46 +08:00
looly
ae36ce7431 fix code 2021-11-18 11:52:22 +08:00
韩帅
a02a8d75d8 StrUtil.toCamelCase 方法重载 2021-11-17 15:40:41 +08:00
looly
ff70f92e9c add DefaultCloneable 2021-11-16 16:12:23 +08:00
陈其淇
3894bc88c3 添加clone的默认接口类 2021-11-16 12:11:42 +08:00
Looly
212fc2497a add pack info 2021-11-16 01:23:35 +08:00
Looly
50654f821f fix code 2021-11-16 01:19:40 +08:00
Looly
a16b0ed025 fix code 2021-11-16 00:38:10 +08:00
Looly
e7370ef77c !459 - 拓展ofEmptyAble函数,简化了判空元素list的操作 - ifPresentOrElse现在支持链式调用 - 拓展mapOrElse函数,可用于一些连续的参数校验 - 拓展exec函数,能对NPE和数组越界异常进行友好返回
Merge pull request !459 from 阿超/v5-dev
2021-11-15 16:26:52 +00:00
Looly
cf51559876 fix code 2021-11-16 00:22:31 +08:00
Looly
305fa44b55 fix textFinder 2021-11-16 00:09:40 +08:00
VampireAchao
600f2ff371 1.拓展ofEmptyAble函数,简化了判空元素list的操作
2.ifPresentOrElse现在支持链式调用
3.拓展mapOrElse函数,可用于一些连续的参数校验
4.拓展exec函数,能对NPE和数组越界异常进行友好返回
2021-11-15 23:09:03 +08:00
Looly
15753a5a31 fix code 2021-11-15 20:55:06 +08:00
looly
1a96870ab7 Merge branch 'v5-dev' of gitee.com:dromara/hutool into v5-dev 2021-11-15 10:50:38 +08:00
looly
b48a80b24d fix code 2021-11-15 10:50:18 +08:00
Looly
10acb1924b fix code 2021-11-14 21:47:07 +08:00
Looly
b1f3584649 fix comment 2021-11-12 21:51:14 +08:00
Looly
ab1d8e84e4 add method for Tree 2021-11-11 22:57:07 +08:00
Looly
bb1e4ba76a add methods 2021-11-11 21:29:45 +08:00
Looly
f9e5625744 add HttpResource 2021-11-11 01:19:53 +08:00
Looly
8fda1b9ac5 add AsyncUtil 2021-11-10 23:12:53 +08:00
Looly
2a7563a609 !457 HashMap应指定初始长度,增加CompletableFuture相关封装
Merge pull request !457 from 阿超/v5-dev
2021-11-10 14:49:50 +00:00
Looly
662485fb2b fix FileResourceBug 2021-11-10 22:48:11 +08:00
achao
e021f52563 添加测试用例 2021-11-10 21:21:01 +08:00
achao
4d9d2c4d90 增加CompletableFuture相关封装 2021-11-10 21:10:46 +08:00
achao
c8743914f1 HashMap应指定初始长度 2021-11-10 20:33:02 +08:00
achao
8e0a5e2029 用RandomUtil 2021-11-10 20:31:32 +08:00
achao
1e7af4d7fc Revert "HashMap应指定初始长度"
This reverts commit 4f04bd121a.
2021-11-10 20:29:41 +08:00
achao
4f04bd121a HashMap应指定初始长度 2021-11-10 20:27:33 +08:00
looly
d53f1ff15e fix method 2021-11-10 17:46:41 +08:00
Looly
30c35234df prepare 5.7.17 2021-11-07 19:29:50 +08:00
Looly
a70d50736e ☃️release 5.7.16 2021-11-07 17:32:54 +08:00
Looly
fbf52763b7 add method 2021-11-07 13:10:18 +08:00
Looly
96df45120d !455 新增了 flattedMap函数,增强了对原生Optional的适配;新增了set函数,允许静态方式/链式获取一个新的Opt
Merge pull request !455 from 阿超/v5-dev
2021-11-07 04:46:50 +00:00
Looly
941e4f39ca fix UrlQuery 2021-11-07 03:23:44 +08:00
Looly
a5adc9ae94 fix bug 2021-11-07 02:34:03 +08:00
achao
42a74147a6 Merge remote-tracking branch 'origin/v5-dev' into v5-dev 2021-11-06 19:56:48 +08:00
achao
29d503d274 新增了flattedMap,增强了对原生Optional的适配
新增了set函数,能通过非静态方式以及链式获取新的Opt
2021-11-06 19:56:40 +08:00
Looly
065c6d61c8 add class 2021-11-06 18:23:50 +08:00
lzpeng723
514dea21b2 由于 FileObjectResource 的流不能读取多次,ResourceClassLoader 增加缓存,同一个类只能加载一次 2021-11-06 09:55:44 +08:00
Looly
fa4f71a112 add method 2021-11-05 00:54:30 +08:00
Looly
646815c3de add test 2021-11-04 02:15:00 +08:00
Looly
179cd2c8ba fix regex 2021-11-04 01:16:05 +08:00
Looly
d75ddf8e2c fix regex 2021-11-04 00:56:23 +08:00
Looly
a97d8c5b4d fix method 2021-11-03 01:35:18 +08:00
Looly
0988a56d44 !449 修改错误注释
Merge pull request !449 from handy/hs_dev
2021-11-02 16:31:28 +00:00
Looly
7e62bf4626 fix 2021-11-03 00:29:54 +08:00
Looly
8614aecced add method 2021-11-02 23:35:10 +08:00
Golden Looly
c663713680
Merge pull request #1926 from HbnKing/v5-dev
add  method
2021-11-02 23:31:23 +08:00
Golden Looly
285a84a1e0
Merge pull request #1929 from imapach/v5-dev
add method
2021-11-02 23:28:43 +08:00
Looly
7af9544105 add test 2021-11-02 22:52:02 +08:00
wangsheng
3d014d5db9 add method 2021-11-02 16:31:51 +08:00
韩帅
73d937a060 修改注释 2021-11-02 10:59:39 +08:00
hbn.king
8e5ed2b691 添加 注释 并增加方法 2021-11-02 10:21:49 +08:00
Looly
e779a9a74c add comment 2021-11-02 01:33:15 +08:00
Looly
b9699517a5 add comment 2021-11-02 01:25:21 +08:00
Looly
88edbafe4b add test 2021-11-02 01:17:48 +08:00
Looly
cffb294bfe add CoordinateUtil 2021-11-02 00:55:51 +08:00
hongzhe.qin
8f35f5429b Merge branch 'v5-dev' of https://gitee.com/deligense/hutool into v5-dev 2021-11-01 10:58:31 +08:00
hongzhe.qin
c105eddc8b add W84Util.java 2021-11-01 10:58:09 +08:00
Looly
3fca9e3afd add peek 2021-10-31 18:27:41 +08:00
achao
d1a16d94ae 新增peeks函数,为函数式编程提供多样性和更多可能性 2021-10-30 14:53:08 +08:00
VampireAchao
6a0bfb7994 新增peeks函数,为函数式编程提供多样性和更多可能性 2021-10-30 14:49:56 +08:00
Looly
2d1fc30c27 fix code 2021-10-30 02:23:28 +08:00
Looly
735325e870 add util 2021-10-29 02:37:27 +08:00
Looly
8efae077ff fix bug 2021-10-29 01:41:00 +08:00
Golden Looly
c608f62f79
Merge pull request #1917 from gaojice/v5-dev
修正cidr判定问题
2021-10-29 00:31:26 +08:00
Jice Gao
ccc9109197 修正cidr判定问题 2021-10-28 09:46:12 +08:00
Looly
7766522f9e fix comment 2021-10-28 02:06:16 +08:00
Looly
96e3a6cdbe add method 2021-10-28 02:02:23 +08:00
Looly
1f2ca2e048 fox code 2021-10-27 16:59:19 +08:00
Looly
54c0151508 fix bug 2021-10-27 11:46:42 +08:00
Looly
32684b2d5c add method 2021-10-26 22:35:04 +08:00
Looly
a77dce46cd fix qr test 2021-10-26 22:19:59 +08:00
Looly
5c7906c1b0 fix comment 2021-10-26 04:31:50 +08:00
Looly
7248b65f40 add EFC3986 2021-10-26 04:24:05 +08:00
Looly
87b88b395e fix bug 2021-10-26 01:33:30 +08:00
Looly
f88e7ab2f3 fix commeent 2021-10-26 01:12:32 +08:00
Looly
d571567c52 add method 2021-10-23 23:19:50 +08:00
Looly
41e488a36b prepare 5.7.16 2021-10-21 23:40:53 +08:00
Looly
31db52dfa2 🧣release 5.7.15 2021-10-21 23:28:51 +08:00
Looly
fc96980b68 change fix test 2021-10-21 22:59:15 +08:00
Looly
ce9ee646d6 add test 2021-10-21 22:24:14 +08:00
Looly
39df3623e1 fix bug 2021-10-21 21:36:22 +08:00
Looly
6ad682fb0a add method 2021-10-21 14:24:02 +08:00
Looly
98512fa1f2 fix bug 2021-10-21 13:18:53 +08:00
Looly
64729aad63 add method 2021-10-21 03:13:52 +08:00
Looly
25118070a3 add zip append 2021-10-21 02:52:14 +08:00
Looly
8a8dbd1816 !441 fix bug https://gitee.com/dromara/hutool/issues/I4402K
Merge pull request !441 from 申劭明/v5-dev-20211015
2021-10-20 16:13:26 +00:00
Looly
d690f4a2c4 add methods 2021-10-20 23:56:39 +08:00
Looly
b937969313 fix bug 2021-10-20 12:34:26 +08:00
申劭明
3227014f52 Merge remote-tracking branch 'origin/v5-dev-20211015' into v5-dev-20211015 2021-10-20 10:44:07 +08:00
申劭明
fd1f330166 add test 2021-10-20 10:43:51 +08:00
申劭明
b2c5438692 use CopyVisitor 2021-10-20 01:56:24 +00:00
申劭明
c9bb53dd03 add support for zip file 2021-10-18 09:58:56 +00:00
申劭明
612c2d8a98 add method 2021-10-15 01:37:16 +00:00
Looly
6b3fc153d7 add test 2021-10-15 02:04:42 +08:00
Looly
172d457bea add methods 2021-10-15 00:33:02 +08:00
Looly
1b39b8271a add method 2021-10-15 00:06:42 +08:00
Looly
134c0c2578 !439 ReUtil.java 添加了 2 个支持[命名捕获组]的方法
Merge pull request !439 from churen/v5-dev
2021-10-14 15:45:49 +00:00
Looly
7afad66075 add FileSystemUtil 2021-10-14 23:45:38 +08:00
Looly
a5ea0ef1ed fix parse bug 2021-10-14 19:29:44 +08:00
lihai03
a15eecd2c5 ReUtil.java 添加 2 个命名捕获组相关的方法
ReUtil.java 添加 2 个命名捕获组相关的方法

ReUtil.java 添加 2 个命名捕获组相关的方法
2021-10-14 18:37:38 +08:00
Looly
b5036b4b0b add method 2021-10-14 09:56:04 +08:00
Looly
d204d58057 !436 feat 增加checkBetween的几个重载方法
Merge pull request !436 from Uncarbon/v5-dev
2021-10-14 01:47:50 +00:00
Looly
6dc2192caa add RingIndexUtil 2021-10-14 09:44:34 +08:00
ZhouChuGang
db86a2ad76 feat: 加入集合环形索引获取工具类RingIndexUtil
加入集合环形索引获取工具类RingIndexUtil
2021-10-13 20:34:05 +08:00
Uncarbon
210ff8882b feat 增加checkBetween的几个重载方法 2021-10-13 11:04:58 +08:00
Looly
28fefdeb1b add SECURITY 2021-10-13 01:27:21 +08:00
Looly
fddb24dc9b fix bug 2021-10-11 21:06:30 +08:00
Looly
4552fa27c6 fix test 2021-10-10 14:15:55 +08:00
zeyu cai
03d40cf4ff fix cn.hutool.core.text.StrJoinerTest#joinMultiArrayTest 2021-10-09 18:40:43 -05:00
Looly
0e9893d365 prepare 5.7.15 2021-10-09 23:56:44 +08:00
Looly
463246496c 👕release 5.7.14 2021-10-09 23:29:27 +08:00
Looly
68e5ced2bd add test 2021-10-09 21:57:30 +08:00
Looly
3037cb222c add test 2021-10-09 21:47:54 +08:00
Looly
412160ac53 fix bug 2021-10-09 21:13:30 +08:00
Looly
0f96a95f2c fix isBase64 2021-10-09 20:24:02 +08:00
Golden Looly
74c6dca648
Merge pull request #1879 from wangliang181230/optimize-base64-2
Base64.isBase64(base64)方法,如果存在双字节字符,直接返回false。
2021-10-09 20:19:18 +08:00
Looly
6e3bad82d0 change test 2021-10-09 18:39:22 +08:00
Looly
adfe11ce37 change test 2021-10-09 18:39:00 +08:00
Looly
02f940c273 add methods 2021-10-08 18:08:51 +08:00
Looly
310f1345f5 !428 ReflectUtil中加入通过条件过滤选择属性
Merge pull request !428 from ZhouChuGang/v5-dev
2021-10-08 10:07:21 +00:00
Looly
2af4333ea1 add test 2021-10-08 18:07:12 +08:00
王良
1f054ca1b8 Base64.isBase64(base64)方法,如果存在双字节字符,直接返回false。 2021-10-08 17:39:34 +08:00
QunXingShanShuo
6bbd8451fb feat: ReflectUtil中加入通过条件过滤选择属性
ReflectUtil中加入通过条件过滤选择属性
2021-10-08 17:14:09 +08:00
Looly
26c4a44adc add stream support for csv 2021-10-08 16:57:02 +08:00