aa.java

来自「很好的3款手机游戏源码」· Java 代码 · 共 115 行

JAVA
115
字号
// 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.io.*;
import java.util.Hashtable;
import javax.microedition.lcdui.Image;

public final class aa
{

	private static Hashtable a_java_util_Hashtable_static = new Hashtable();
	private String a_java_lang_String;
	private Image a_javax_microedition_lcdui_Image;
	private boolean a_boolean;
	private byte a_byte_array1d[];
	private short a_short_array1d[];
	private String b_java_lang_String;
	private int a_int;
	private int b_int;

	private aa(String s)
	{
		a_java_lang_String = s;
	}

	public d a(String s)
	{
		InputStream inputstream;
		if (a_javax_microedition_lcdui_Image != null)
			break MISSING_BLOCK_LABEL_217;
		inputstream = null;
		d d1;
		inputstream = getClass().getResourceAsStream(a_java_lang_String);
		if (inputstream != null)
			break MISSING_BLOCK_LABEL_38;
		d1 = null;
		try
		{
			inputstream.close();
		}
		catch (IOException ioexception2) { }
		return d1;
		DataInputStream datainputstream = new DataInputStream(inputstream);
		a_boolean = datainputstream.readBoolean();
		String s1 = datainputstream.readUTF();
		b_java_lang_String = s1;
		b_int = s1.indexOf(' ');
		int k = s1.length();
		a_byte_array1d = new byte[k];
		a_short_array1d = new short[k];
		short word0 = 0;
		for (int l = 0; l < k; l++)
		{
			byte byte0 = datainputstream.readByte();
			a_byte_array1d[l] = byte0;
			a_short_array1d[l] = word0;
			word0 += byte0;
		}

		a_javax_microedition_lcdui_Image = Image.createImage(inputstream);
		a_int = a_javax_microedition_lcdui_Image.getHeight();
		a_java_lang_String = null;
		try
		{
			inputstream.close();
		}
		catch (IOException ioexception) { }
		break MISSING_BLOCK_LABEL_217;
		IOException ioexception1;
		ioexception1;
		d d2 = null;
		try
		{
			inputstream.close();
		}
		catch (IOException ioexception3) { }
		return d2;
		Exception exception;
		exception;
		try
		{
			inputstream.close();
		}
		catch (IOException ioexception4) { }
		throw exception;
		if (!a_boolean)
			s = s.toLowerCase();
		int i = s.length();
		int ai[] = new int[i];
		for (int j = i - 1; j >= 0; j--)
		{
			char c = s.charAt(j);
			if (c == '\n')
				ai[j] = -2;
			else
				ai[j] = b_java_lang_String.indexOf(c);
		}

		return new d(a_javax_microedition_lcdui_Image, ai, a_short_array1d, a_byte_array1d, a_int, b_int, 1);
	}

	public static aa a(String s)
	{
		aa aa1 = (aa)a_java_util_Hashtable_static.get(s);
		if (aa1 == null)
		{
			aa1 = new aa(s);
			a_java_util_Hashtable_static.put(s, aa1);
		}
		return aa1;
	}

}

⌨️ 快捷键说明

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