FOTA v.0.9.2.7版本的 MD5 值为:2305fdf4520259063967289da5df0dc6
以下内容为反编译后的 MaskBit.java 源代码,内容仅作参考
package cn.hutool.core.net;
import java.util.HashMap;
import java.util.Map;
public class MaskBit {
private static final Map<Integer, String> MASK_BIT_MAP;
static {
HashMap hashMap = new HashMap(32);
MASK_BIT_MAP = hashMap;
hashMap.put(1, "128.0.0.0");
hashMap.put(2, "192.0.0.0");
hashMap.put(3, "224.0.0.0");
hashMap.put(4, "240.0.0.0");
hashMap.put(5, "248.0.0.0");
hashMap.put(6, "252.0.0.0");
hashMap.put(7, "254.0.0.0");
hashMap.put(8, "255.0.0.0");
hashMap.put(9, "255.128.0.0");
hashMap.put(10, "255.192.0.0");
hashMap.put(11, "255.224.0.0");
hashMap.put(12, "255.240.0.0");
hashMap.put(13, "255.248.0.0");
hashMap.put(14, "255.252.0.0");
hashMap.put(15, "255.254.0.0");
hashMap.put(16, "255.255.0.0");
hashMap.put(17, "255.255.128.0");
hashMap.put(18, "255.255.192.0");
hashMap.put(19, "255.255.224.0");
hashMap.put(20, "255.255.240.0");
hashMap.put(21, "255.255.248.0");
hashMap.put(22, "255.255.252.0");
hashMap.put(23, "255.255.254.0");
hashMap.put(24, "255.255.255.0");
hashMap.put(25, "255.255.255.128");
hashMap.put(26, "255.255.255.192");
hashMap.put(27, "255.255.255.224");
hashMap.put(28, "255.255.255.240");
hashMap.put(29, "255.255.255.248");
hashMap.put(30, "255.255.255.252");
hashMap.put(31, "255.255.255.254");
hashMap.put(32, "255.255.255.255");
}
public static String get(int maskBit) {
return MASK_BIT_MAP.get(Integer.valueOf(maskBit));
}
}