⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 e.java

📁 MobileDict
💻 JAVA
字号:
// Decompiled by Jad v1.5.7f. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) 

package mobiledict;


public class e
{

    public e()
    {
    }

    public static String _mthfor(String s)
    {
        for(; s.endsWith("\0"); s = s.substring(0, s.length() - 1));
        for(; s.startsWith("\0"); s = s.substring(1, s.length()));
        return s;
    }

    public static String a(byte abyte0[], int i, int j)
    {
        StringBuffer stringbuffer = new StringBuffer("");
        for(int k = i; k < j;)
        {
            int l = abyte0[k++];
            if(l < 0)
                l += 256;
            int i1 = abyte0[k++];
            if(i1 < 0)
                i1 += 256;
            char c = (char)(l + (i1 << 8));
            stringbuffer.append(c);
        }

        return stringbuffer.toString();
    }

    public static String a(byte abyte0[], int i)
    {
        return a(abyte0, 0, i);
    }

    public static String a(byte abyte0[])
    {
        return a(abyte0, 0, abyte0.length);
    }

    public static byte[] _mthif(String s)
    {
        int i = s.length();
        byte abyte0[] = new byte[i << 1];
        int j = 0;
        for(int k = 0; k < i; k++)
        {
            char c = s.charAt(k);
            abyte0[j++] = (byte)(c & 0xff);
            abyte0[j++] = (byte)(c >> 8);
        }

        return abyte0;
    }

    public static int _mthdo(String s)
    {
        for(int i = 0; i < s.length(); i++)
        {
            char c = s.charAt(i);
            if(c >> 8 != 0)
                return 1;
        }

        return 0;
    }

    public static String a(String s)
    {
        int j = 0;
        String s1 = "";
        String s2 = "";
        byte abyte0[] = s.getBytes();
        int i;
        for(i = 0; i < s.length(); i++)
        {
            if(abyte0[i] != 124 || i > 0 && abyte0[i - 1] < 0)
                continue;
            s2 = String.valueOf(s2) + String.valueOf(s.substring(j, i - 1));
            j = i + 2;
            i++;
            switch(abyte0[i])
            {
            case 49: // '1'
                s1 = "\u9176";
                break;

            case 50: // '2'
                s1 = "\u9170";
                break;

            case 51: // '3'
                s1 = "\u5239";
                break;

            case 52: // '4'
                s1 = "\u7D5D";
                break;

            case 53: // '5'
                s1 = "\u565D";
                break;

            case 54: // '6'
                s1 = "\u9AB6";
                break;

            case 55: // '7'
                s1 = "\u5F11";
                break;
            }
            s2 = String.valueOf(s2) + String.valueOf(s1);
        }

        s2 = String.valueOf(s2) + String.valueOf(s.substring(j, i - 1));
        return s2;
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -