public class MaskBit extends Object
| 构造器和说明 |
|---|
MaskBit() |
public static String get(int maskBit)
maskBit - 掩码位public static Integer getMaskBit(String mask)
mask - 掩码的点分十进制表示,如 255.255.255.0public static long getMaskIpLong(int maskBit)
maskBit - 掩码位Copyright © 2024. All rights reserved.