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

📄 dictword.java~1~

📁 一個手機程序(電子詞典),一個不可多得的源碼程序,是學習J2ME的好東東.
💻 JAVA~1~
字号:
// Decompiled by Jad v1.5.7g. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi 
// Source File Name:   DictWord.java

package ecdict;

import java.io.DataInputStream;
import java.io.InputStream;

public class DictWord
{

    public String Word;
    private String Desc;
    public String DescFileName;
    public int DescSize;
    public int Pos;

    public DictWord()
    {
    }

    public String GetWord()
    {
        return Word == null ? "没有找到匹配项" : Word;
    }

    public String GetWordDesc()
    {
        DataInputStream dis;
        if(Word == null)
            return "";
        if(Desc != null)
            return Desc;
        dis = null;
        InputStream is = null;
        is = getClass().getResourceAsStream(DescFileName);
        dis = new DataInputStream(is);
        int i;
        dis.skip(Pos * 2);
        Desc = "";
        i = 0;
          goto _L1
_L14:
        char c = dis.readChar();
        c;
        JVM INSTR tableswitch 9312 9321: default 422
    //                   9312 132
    //                   9313 161
    //                   9314 190
    //                   9315 219
    //                   9316 248
    //                   9317 277
    //                   9318 306
    //                   9319 335
    //                   9320 364
    //                   9321 393;
           goto _L2 _L3 _L4 _L5 _L6 _L7 _L8 _L9 _L10 _L11 _L12
_L3:
        new StringBuffer();
        this;
        JVM INSTR dup_x1 ;
        Desc;
        append();
        "n.";
        append();
        toString();
        Desc;
        continue; /* Loop/switch isn't completed */
_L4:
        new StringBuffer();
        this;
        JVM INSTR dup_x1 ;
        Desc;
        append();
        "v.";
        append();
        toString();
        Desc;
        continue; /* Loop/switch isn't completed */
_L5:
        new StringBuffer();
        this;
        JVM INSTR dup_x1 ;
        Desc;
        append();
        "adj.";
        append();
        toString();
        Desc;
        continue; /* Loop/switch isn't completed */
_L6:
        new StringBuffer();
        this;
        JVM INSTR dup_x1 ;
        Desc;
        append();
        "adv.";
        append();
        toString();
        Desc;
        continue; /* Loop/switch isn't completed */
_L7:
        new StringBuffer();
        this;
        JVM INSTR dup_x1 ;
        Desc;
        append();
        "prep.";
        append();
        toString();
        Desc;
        continue; /* Loop/switch isn't completed */
_L8:
        new StringBuffer();
        this;
        JVM INSTR dup_x1 ;
        Desc;
        append();
        "pron.";
        append();
        toString();
        Desc;
        continue; /* Loop/switch isn't completed */
_L9:
        new StringBuffer();
        this;
        JVM INSTR dup_x1 ;
        Desc;
        append();
        "conj.";
        append();
        toString();
        Desc;
        continue; /* Loop/switch isn't completed */
_L10:
        new StringBuffer();
        this;
        JVM INSTR dup_x1 ;
        Desc;
        append();
        "int.";
        append();
        toString();
        Desc;
        continue; /* Loop/switch isn't completed */
_L11:
        new StringBuffer();
        this;
        JVM INSTR dup_x1 ;
        Desc;
        append();
        "num.";
        append();
        toString();
        Desc;
        continue; /* Loop/switch isn't completed */
_L12:
        new StringBuffer();
        this;
        JVM INSTR dup_x1 ;
        Desc;
        append();
        "";
        append();
        toString();
        Desc;
        continue; /* Loop/switch isn't completed */
_L2:
        new StringBuffer();
        this;
        JVM INSTR dup_x1 ;
        Desc;
        append();
        c;
        append();
        toString();
        Desc;
        i++;
_L1:
        if(i < DescSize) goto _L14; else goto _L13
_L13:
        dis.close();
          goto _L15
        Exception ex;
        ex;
_L15:
        return Desc;
    }

    public void Empty()
    {
        Word = null;
        Desc = null;
        Pos = -1;
    }

    public boolean IsEmpty()
    {
        return Word == null;
    }
}

⌨️ 快捷键说明

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