Commit Graph

1853 Commits

Author SHA1 Message Date
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
Looly
fc1dedb345 fix doc 2021-10-07 23:51:51 +08:00
Looly
e0848d2b68 fix doc 2021-10-07 23:49:55 +08:00
Looly
530ce9fab5 add of 2021-10-07 23:13:09 +08:00
Golden Looly
2f2273c50b
Merge pull request #1872 from ls586/v5-dev
从LocalDate中获取Week
2021-10-07 23:10:27 +08:00
Looly
cff7c1cedd add Opt 2021-10-07 22:36:41 +08:00
Ron
f553d6d2cb 从LocalDate中获取Week 2021-10-01 01:06:18 +08:00
VampireAchao
75a14ef1fa 参考jdk16中的Optional,以及自己进行了一点调整和新增,比jdk8中的Optional多了几个实用的函数,将即将废弃的OptionalBean死灰复燃 2021-10-01 00:07:05 +08:00
Golden Looly
c33eb83a90
Merge pull request #1861 from anaer/patch-6
Update DateUtil.java
2021-09-30 17:38:06 +08:00
Golden Looly
4acad0afd8
Merge pull request #1862 from anaer/patch-7
Update StopWatch.java
2021-09-30 17:37:45 +08:00
Golden Looly
dc1f7782e5
Merge pull request #1863 from anaer/patch-8
Update ListTypeGetter.java
2021-09-30 17:37:24 +08:00
Golden Looly
6ccae6646e
Merge pull request #1866 from anaer/patch-9
Update PathUtil.java
2021-09-30 17:37:08 +08:00
Golden Looly
8039ed6df8
Merge pull request #1868 from anaer/patch-10
Update TreeBuilder.java
2021-09-30 17:36:40 +08:00
Golden Looly
ca67bcbf95
Merge pull request #1869 from anaer/patch-11
Update TreeUtil.java
2021-09-30 17:35:55 +08:00
Golden Looly
bf83503320
Merge pull request #1870 from anaer/patch-12
Update Assert.java
2021-09-30 17:35:16 +08:00
lvcn
5fb8f1b857 fix typo, removeEqual对value为null情况未处理 2021-09-30 17:20:44 +08:00
anaer
2d9ef86951
Update Assert.java
fix comment
2021-09-30 16:16:23 +08:00
anaer
05506ec2ed
Update TreeUtil.java
typo
2021-09-30 15:06:21 +08:00
anaer
c50b1b302f
Update TreeBuilder.java
跟上面的checkBuilt(); 重复了
2021-09-30 14:54:31 +08:00
anaer
cd1a372ab1
Update PathUtil.java
typo
2021-09-30 11:10:54 +08:00
anaer
94342c6682
Update ListTypeGetter.java
typo
2021-09-29 17:23:50 +08:00
anaer
be8df2bf67
Update StopWatch.java
fix comment
2021-09-29 17:09:36 +08:00
anaer
cc18205c9e
Update DateUtil.java
fix comment
2021-09-29 16:57:10 +08:00
Looly
58355265ff fix code 2021-09-29 11:59:24 +08:00
Looly
43e24c1498 !421 处理了Collectors.toMap未指定key重复策略 导致的java.lang.IllegalStateException: Duplicate key 问题
Merge pull request !421 from 阿超/v5-dev
2021-09-29 03:37:29 +00:00
Looly
451ebb6bcc fix comment 2021-09-29 11:36:32 +08:00
Golden Looly
659ebbd62a
Merge pull request #1860 from wangliang181230/optimize-base64
优化Base64.isBase64方法:减少一次多余的判断
2021-09-29 11:10:15 +08:00
王良
a7bfa8e114 Base64.isBase64方法,减少一次多余的判断。 2021-09-29 10:55:43 +08:00
Looly
ca0e66d9b4 add methods 2021-09-29 10:51:44 +08:00
Golden Looly
e6d2296350
Merge pull request #1857 from anaer/patch-5
Update BeanUtil.java
2021-09-29 10:04:31 +08:00
anaer
cd01a063ee
Update BeanUtil.java
typo
2021-09-28 17:53:07 +08:00
achao
651bca7c99 处理了Collectors.toMap未指定key重复策略 导致的java.lang.IllegalStateException: Duplicate key 问题 2021-09-28 16:36:24 +08:00
anaer
4b8774fb70
Update ClassUtil.java
typo
2021-09-28 10:48:06 +08:00
Looly
36397e615d fix comment 2021-09-28 01:33:04 +08:00
Looly
aaaf2b7f03 fix firstday 2021-09-28 01:22:26 +08:00
Looly
0ff44155c7 add test 2021-09-28 00:56:12 +08:00
Looly
f1b6d84fe7 fix code 2021-09-28 00:24:26 +08:00
Looly
1072639f3b add method 2021-09-28 00:14:58 +08:00
Looly
9642fa8862 fix code 2021-09-28 00:07:13 +08:00
Looly
75d84b4768 add method 2021-09-27 22:53:12 +08:00
Looly
ed85f81cea fix test 2021-09-27 22:36:14 +08:00
zeyu cai
edd57e82d4 fix flaky test cn.hutool.core.util.JAXBUtilTest#beanToXmlTest. no performance regress related. test file changed only. 2021-09-27 04:57:04 -05:00
Looly
1ab9b6b3e9 fix get null bug 2021-09-27 11:56:33 +08:00
Looly
6db6d70293 add test 2021-09-25 19:42:40 +08:00
Looly
ce33b3d5cb add test 2021-09-25 18:53:12 +08:00
Looly
bebacf2d00 fix split 2021-09-25 18:20:12 +08:00
Looly
e16ec27c40 add iter 2021-09-25 11:25:51 +08:00
Golden Looly
35b9212103
Merge pull request #1841 from Hccake/v5-dev
在做字符串切割时,允许传入 mapping 方法,来对切割后的元素做一个处理
2021-09-25 09:49:25 +08:00
Looly
d243764d51 change date converter 2021-09-24 23:22:31 +08:00
Looly
7b6593fe68 add YamlUtil 2021-09-24 15:29:56 +08:00
Hccake
f1eb5cc439 Allows to customize the mapping method for each element in a list after splitting a string 2021-09-24 12:17:06 +08:00
Looly
0c3980d0fd prepare 5.7.14 2021-09-17 22:54:34 +08:00
Looly
aa9b827057 🌵release 5.7.13 2021-09-17 22:36:10 +08:00
Looly
59be04e0a5 add test 2021-09-17 21:15:04 +08:00
Looly
545e2d4774 fix comment 2021-09-17 20:11:18 +08:00
Looly
b935ace121 add method 2021-09-17 20:02:41 +08:00
Looly
2f57c2aaf9 !416 CollUtil新增2个互换元素位置的静态方法
Merge pull request !416 from TanLongHui/v5-dev
2021-09-17 11:54:44 +00:00
Looly
aafcecc3d9 add method 2021-09-17 19:29:18 +08:00
Looly
96c83cb16b fix bug 2021-09-17 19:15:43 +08:00
TLH
3fc4d134af CollUtil新增2个互换元素位置的静态方法以及对应单元测试
方法1:swapIndex   指定列表元素A与索引index所在元素互换位置
方法2:swapElement 指定列表元素A与列表元素B互换位置
2021-09-15 16:02:20 +08:00
bob.guo
26b6838339 isLinked 为true时 创建的是linkList 2021-09-14 10:06:00 +08:00
Looly
1b0d5d2cf1 fix bug 2021-09-14 09:58:21 +08:00
Looly
46cffe4ed2 add author 2021-09-13 12:00:57 +08:00
Looly
612441615d change method param 2021-09-13 11:53:12 +08:00
Looly
d3f946dd33 change position of trim 2021-09-13 09:15:42 +08:00
Looly
fefd88b358 fix test 2021-09-12 01:43:12 +08:00
Looly
bf8906eb48 fix frgment encode 2021-09-12 01:19:16 +08:00
Looly
07c69efa92 fix test 2021-09-12 00:15:30 +08:00
Looly
a7817ab5b0 add config 2021-09-11 23:44:38 +08:00
Looly
f08ae8cf7d fix code 2021-09-10 21:17:41 +08:00
Looly
783a02cce4 fix bu 2021-09-10 19:51:46 +08:00
Looly
caab40f8ea fix code 2021-09-10 19:25:44 +08:00
Looly
22a3c3a936 fix code 2021-09-10 19:25:33 +08:00
Looly
0595b91634 fix bug 2021-09-10 19:24:04 +08:00
Looly
ba4fabb88c fix pink bug 2021-09-10 19:07:08 +08:00
Looly
a0f407865e fix code 2021-09-10 09:32:00 +08:00
Looly
7a25b73376 prepare 5.7.13 2021-09-09 23:18:33 +08:00
Looly
9a736580ac 🥔release 5.7.12 2021-09-09 21:51:02 +08:00
Looly
feed45c12c fix bug 2021-09-09 19:29:00 +08:00
Looly
a1ee4d27c3 fix bug 2021-09-09 19:15:43 +08:00
Looly
02885bbcd3 add ZUC 2021-09-09 16:14:37 +08:00
Looly
5be6c0103b add test 2021-09-09 11:53:11 +08:00
Looly
57c191fe1c Merge branch 'v5-dev' of gitee.com:dromara/hutool into v5-dev 2021-09-08 12:12:55 +08:00
Looly
5ae924b9c6 fix path 2021-09-08 12:09:31 +08:00
Looly
afce68cd1c !410 更改CollUtil#emptyIfNull入参名称更加合理
Merge pull request !410 from 这个网名不错/v5-dev
2021-09-08 03:57:31 +00:00
Looly
8ddf18fb7a add interface 2021-09-08 11:11:27 +08:00
lixiaohua
443aca6c78 rename 2021-09-08 10:08:31 +08:00
Looly
4c237ba95e add test and change AES costructor 2021-09-07 23:54:57 +08:00
Looly
c50a63a196 fix bug 2021-09-07 14:51:07 +08:00
Looly
758fb793fc add method 2021-09-07 13:33:37 +08:00
Looly
36cf627f3d add method 2021-09-06 17:59:01 +08:00
Looly
7379e27d56 add method 2021-09-06 16:12:33 +08:00
Looly
3acb81a58a fix bug 2021-09-06 09:52:22 +08:00
Looly
186eeb8054 add test 2021-09-02 15:07:38 +08:00
Looly
4a384f6a5c deprecate OptionalBean 2021-09-02 13:56:19 +08:00
Golden Looly
efa9828cdd
Merge pull request #1805 from anaer/patch-1
Update CharsetDetector.java
2021-09-01 22:28:12 +08:00
Looly
303c77a08d add null check 2021-09-01 22:14:15 +08:00
anaer
69ee7ba40a
Update CharsetDetector.java
typo
2021-09-01 17:25:43 +08:00
Looly
fa6882f480 prepare 5.7.12 2021-08-31 22:44:06 +08:00
Looly
c36f9f55db 🍱release 5.7.11 2021-08-31 17:36:43 +08:00
Looly
838a3ecfa4 fix commnet 2021-08-31 08:32:39 +08:00
Looly
fca32ecefd add test 2021-08-30 12:52:10 +08:00
Looly
424e6e817e add test 2021-08-30 12:22:54 +08:00
Looly
9ba4b008b2 add constrctor 2021-08-30 10:59:11 +08:00
Looly
3e23982329 add docx check 2021-08-30 09:32:21 +08:00
Looly
9a4202ee7d prepare 5.7.11 2021-08-27 01:08:59 +08:00
Looly
611039ae67 🍳release 5.7.10 2021-08-27 00:50:59 +08:00
Looly
e800b9cc3a add alias support 2021-08-27 00:47:24 +08:00
Golden Looly
9bae66f219
Merge pull request #1792 from Inmord/v5-dev-optimal-comb
当n = m时,C(n, m) = C(n, n) = 1。
2021-08-26 23:47:51 +08:00
Looly
d66efef873 add constructor 2021-08-26 23:40:28 +08:00
Looly
c0510a4c66 !403 exception工具类优化
Merge pull request !403 from 赵龙波/v5-dev
2021-08-26 15:31:11 +00:00
Looly
8adf96eaab add methods 2021-08-26 23:27:37 +08:00
zhaolongbo
40a6ffbea0 创建异常对象时会调用父类Throwable的fillInStackTrace()方法生成栈追踪信息,这部分对系统性能开销很大。JDk7开始 异常类增加了爬栈开关,这里同样增加构造方法方便根据业务情况自定义是否关闭和打开 2021-08-26 22:28:41 +08:00
刘生平
ad5bba2703 当n = m时,C(n, m) = C(n, n) = 1。 2021-08-26 21:05:07 +08:00
Looly
548852670c Merge branch 'v5-dev' of gitee.com:dromara/hutool into v5-dev 2021-08-26 17:15:35 +08:00
qiuxuquan
e9b4400747 修正方法注释 2021-08-26 06:58:51 +00:00
Looly
d0aff3e3cd add methods 2021-08-26 11:58:02 +08:00
Looly
b88de146f6 add method 2021-08-26 11:49:52 +08:00
Looly
8e5ad32e70 add method 2021-08-25 15:25:25 +08:00
Looly
9a21da9c78 add FuncComparator 2021-08-24 23:13:10 +08:00
Looly
f06a04a965 add method 2021-08-22 19:06:25 +08:00
Looly
40828f69d1 add method 2021-08-22 17:53:02 +08:00
Looly
8be645e9fb !397 将list集合平均分成多个list
Merge pull request !397 from lileming/v5-dev
2021-08-22 08:49:42 +00:00
Looly
d52c32154a fix code 2021-08-20 16:30:31 +08:00