mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
add methods
This commit is contained in:
@@ -67,6 +67,7 @@ public class MaskBit {
|
||||
* @param mask 掩码的点分十进制表示,如 255.255.255.0
|
||||
*
|
||||
* @return 掩码位,如 24;如果掩码不合法,则返回null
|
||||
* @since 5.6.5
|
||||
*/
|
||||
public static Integer getMaskBit(String mask) {
|
||||
return MASK_BIT_MAP.getKey(mask);
|
||||
|
Reference in New Issue
Block a user