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

📄 b.java

📁 J2ME写的英译汉字典 比较适合新手练手用!!!!!
💻 JAVA
字号:
// Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://kpdus.tripod.com/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi space 

import java.util.Random;
import javax.microedition.lcdui.Display;
import javax.microedition.midlet.MIDlet;

public abstract class b
	implements Runnable
{

	protected byte b;
	protected n c[];
	private c f;
	private l g;
	private static Random h;
	private int i;
	private MIDlet j;
	protected boolean d;
	protected boolean e;

	public b(MIDlet midlet, short word0, short word1)
	{
		i = 40;
		j = midlet;
		g = new l(word0);
		f = new c(this);
		new k(word1);
	}

	public final void a()
	{
		(new Thread(this)).start();
		(new Thread(f)).start();
		Display.getDisplay(j).setCurrent(f);
	}

	public abstract void a(byte byte0);

	protected final synchronized void b()
	{
		c[b].c();
	}

	protected final synchronized void c()
	{
		c[b].a(g);
	}

	protected final synchronized void a(int i1)
	{
		c[b].a(i1);
	}

	protected final synchronized void b(int i1)
	{
		c[b].b(i1);
	}

	protected final synchronized void d()
	{
		c[b].b();
	}

	public final void c(int i1)
	{
		i = i1;
	}

	public final void run()
	{
		while (!d) 
		{
			long l1 = System.currentTimeMillis();
			if (!e)
			{
				d();
				k.c();
			}
			l1 = System.currentTimeMillis() - l1;
			try
			{
				if (l1 < (long)i)
					Thread.sleep((long)i - l1);
			}
			catch (Exception ) { }
		}
		j.notifyDestroyed();
	}

	public final c e()
	{
		return f;
	}

	public final l f()
	{
		return g;
	}

	public final int g()
	{
		return b;
	}

	public static final int d(int i1)
	{
		if (h == null)
			h = new Random(System.currentTimeMillis());
		int j1;
		while ((j1 = Math.abs(h.nextInt()) % (i1 + 1)) == 0) ;
		return j1 - 1;
	}

	public final void h()
	{
		d = true;
	}
}

⌨️ 快捷键说明

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