mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
add methods
This commit is contained in:
parent
5e973f1c8c
commit
f6c38ed8ff
@ -9,6 +9,8 @@
|
|||||||
* 【http 】 HttpUtil增加closeCookie方法
|
* 【http 】 HttpUtil增加closeCookie方法
|
||||||
* 【core 】 NumberUtil增加方法decimalFormat重载(issue#I3OSA2@Gitee)
|
* 【core 】 NumberUtil增加方法decimalFormat重载(issue#I3OSA2@Gitee)
|
||||||
* 【extra 】 Ftp的remoteVerificationEnabled改为false(issue#I3OSA2@Gitee)
|
* 【extra 】 Ftp的remoteVerificationEnabled改为false(issue#I3OSA2@Gitee)
|
||||||
|
* 【core 】 MaskBit增加掩码反向转换的方法getMaskBit()(pr#1563@Github)
|
||||||
|
|
||||||
### 🐞Bug修复
|
### 🐞Bug修复
|
||||||
* 【core 】 修复createScheduledExecutor单位不是毫秒的问题(issue#I3OYIW@Gitee)
|
* 【core 】 修复createScheduledExecutor单位不是毫秒的问题(issue#I3OYIW@Gitee)
|
||||||
* 【core 】 修复Tailer无stop问题(issue#I3PQLQ@Gitee)
|
* 【core 】 修复Tailer无stop问题(issue#I3PQLQ@Gitee)
|
||||||
|
@ -67,6 +67,7 @@ public class MaskBit {
|
|||||||
* @param mask 掩码的点分十进制表示,如 255.255.255.0
|
* @param mask 掩码的点分十进制表示,如 255.255.255.0
|
||||||
*
|
*
|
||||||
* @return 掩码位,如 24;如果掩码不合法,则返回null
|
* @return 掩码位,如 24;如果掩码不合法,则返回null
|
||||||
|
* @since 5.6.5
|
||||||
*/
|
*/
|
||||||
public static Integer getMaskBit(String mask) {
|
public static Integer getMaskBit(String mask) {
|
||||||
return MASK_BIT_MAP.getKey(mask);
|
return MASK_BIT_MAP.getKey(mask);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user