很难懂么?
构造三个字符串:
        String s2 = new String("");
        String s3 = new String("");
        String s5 = new String("");
handler没声明,如果不指向任何对象的话,就abc是个方法,不是个类呀,老大
        if(handler == null)
            handler = new abc();
根据s1构造一个BigInteger
        BigInteger biginteger = new BigInteger(s1);
s的长度小于50就将其赋给s2,否则取其子串给s2,从索引0开始,到索引49结束不包括49。
        if(s.length() < 50)
            s2 = s;
        else
            s2 = s.substring(0, 49);
取出s2的byte数组,其为每个字符的ascii码对应的整数值。
        byte abyte0[] = s2.getBytes();
根据abyre0的长度遍历,将其每个值转化成一个string,
       for(int i = 0; i < Array.getLength(abyte0); i++)
        {
            String s4 = String.valueOf(abyte0[i]);
            s5 = s5.concat(s4);
        }
你这到底是什么东西,越看越不像java

解决方案 »

  1.   

    同意楼上的,String s2 = new String("");这种写法着实很怪异啊...
      

  2.   

    你的代码有点怪怪^_^
    给全代码,这个method里面调用了其它类或者方法,不是很容易说清楚
    只知道是一个处理字符串的方法
      

  3.   

    有点奇怪,建议楼主可以写个main实际运行一下,看看
    有错误没有.
      

  4.   

    s5 = s5.concat(s4);中concat代表什么?
      

  5.   

    s5 = s5.concat(s4);
    concat是把s4接到s5的后面去,相当于s5+=s4;
    用的好像很少...而且也没什么意义...
      

  6.   

    BigInteger 是数字还是字符或数组啊?
      

  7.   

    BigInteger是用来处理位数在64位以上的二进制数的,64位以下的用long或者int