摘要:
1 package com.jdk7.chapter5; 2 3 import java.math.BigInteger; 4 5 public class IPToLong { 6 /** 7 * 将字符串类型的IP转换为整型: 8 * 1.IP中每个"."的位置(第二个"."以后的起始位置需要在第一个位置的基础上+1) 9 * 2.... 阅读全文
posted @ 2018-02-23 16:51
celineluo
阅读(1263)
评论(0)
推荐(0)
摘要:
1 package com.jdk7.chapter5; 2 /** 3 * 4 * @author Administrator 5 * 6 */ 7 public class StringBufferTest { 8 9 public static void findStr(StringBuffer sb, String dest){ 10 ... 阅读全文
posted @ 2018-02-23 14:47
celineluo
阅读(119)
评论(0)
推荐(0)

浙公网安备 33010602011771号