e.java

来自「webviwer,一个基于j2me的浏览器」· Java 代码 · 共 77 行

JAVA
77
字号
// 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 

import java.util.Enumeration;
import java.util.Vector;

public class e extends u
{

    Vector d;
    boolean b;

    e(String s, boolean flag)
    {
        super(s, null, true);
        b = flag;
        d = new Vector();
    }

    public String d()
    {
        int i = a();
        if(i < 0)
            return null;
        else
            return ((p)d.elementAt(i)).b();
    }

    public String c()
    {
        if(d.isEmpty())
            return null;
        if(b)
            return "(multiple)";
        else
            return ((p)d.elementAt(a())).a();
    }

    void a(p p1)
    {
        for(Enumeration enumeration = d.elements(); enumeration.hasMoreElements();)
        {
            p p2 = (p)enumeration.nextElement();
            if(p2 != p1)
                p2.a(false);
        }

    }

    public int a()
    {
        int i = 0;
        for(Enumeration enumeration = d.elements(); enumeration.hasMoreElements();)
        {
            if(((p)enumeration.nextElement()).c)
                return i;
            i++;
        }

        return !b && !d.isEmpty() ? 0 : -1;
    }

    public void a(int i)
    {
        if(i == -1)
            a(((p) (null)));
        else
            ((p)d.elementAt(i)).a(true);
    }

    public void e()
    {
        for(Enumeration enumeration = d.elements(); enumeration.hasMoreElements(); ((p)enumeration.nextElement()).c());
    }
}

⌨️ 快捷键说明

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