public static Radix evalRadix(String str) {
        if (str.startsWith("0x"))
            return new Radix(str.substring(2), 16);
        if (str.startsWith("0") && str.length() > 1)
            return new Radix(str.substring(1), 8);
        if (str.startsWith("0b"))
            return new Radix(str.substring(2), 2);
        return new Radix(str, 10);
    }
public static Radix evalRadix(String str) {
        if (str.startsWith("0x"))
            return new Radix(str.substring(2), 16);
        if (str.startsWith("0") && str.length() > 1)
            return new Radix(str.substring(1), 8);
        if (str.startsWith("0b"))
            return new Radix(str.substring(2), 2);
        return new Radix(str, 10);
    }
public static Radix evalRadix ( String str ) { if ( str . startsWith ( "0x" ) ) return new Radix ( str . substring ( 2 ) , 16 ) ; if ( str . startsWith ( "0" ) && str . length ( ) > 1 ) return new Radix ( str . substring ( 1 ) , 8 ) ; if ( str . startsWith ( "0b" ) ) return new Radix ( str . substring ( 2 ) , 2 ) ; return new Radix ( str , 10 ) ; }
@param str
数字的字符串
@return 字符串的进制

@see org.nutz.lang.Nums.Radix
@param str 数字的字符串 @return 字符串的进制