号码文件在c:\abc.txt, 排除重复和不合法的号码将输出到def.txt
parsePhone可以进一步解析哪些不完全正确的号码格式, 当然可能会变慢
offset这里只做了130-139 150-159 180-189这些号码段的偏移处理, 按照实际需求还可以做更大范围的
在eclipse中运行如果发生了OutOfMemoryError: Java heap space, 请在启动配置中增加 VM arguments
-Xmx800m -Xms100m
上面适用于可用内存大于800M的机器
这个是以空间换时间, 所以内存越大越好
还可以对offset优化 不使用* 而使用位运算, offset可以表示5位2进制长度的数据, 即0-31