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

📄 e.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.io.DataInputStream;
import javax.microedition.rms.RecordStore;

public final class e
{

	public e()
	{
	}

	public static final boolean a(String s)
	{
		try
		{
			RecordStore recordstore;
			(recordstore = RecordStore.openRecordStore(s, true)).closeRecordStore();
			return true;
		}
		catch (Exception )
		{
			return false;
		}
	}

	public static final boolean b(String s)
	{
		try
		{
			RecordStore recordstore;
			(recordstore = RecordStore.openRecordStore(s, false)).closeRecordStore();
			return true;
		}
		catch (Exception )
		{
			return false;
		}
	}

	public static final int a(String s, byte abyte0[])
	{
		int i = -1;
		try
		{
			RecordStore recordstore;
			i = (recordstore = RecordStore.openRecordStore(s, false)).addRecord(abyte0, 0, abyte0.length);
			recordstore.closeRecordStore();
			return i;
		}
		catch (Exception )
		{
			return i;
		}
	}

	public static final boolean a(String s, int i, byte abyte0[])
	{
		boolean flag = false;
		try
		{
			RecordStore recordstore;
			(recordstore = RecordStore.openRecordStore(s, false)).setRecord(i, abyte0, 0, abyte0.length);
			recordstore.closeRecordStore();
			return true;
		}
		catch (Exception )
		{
			return false;
		}
	}

	public static final byte[] a(String s, int i)
	{
		try
		{
			RecordStore recordstore;
			byte abyte0[] = new byte[(recordstore = RecordStore.openRecordStore(s, false)).getRecordSize(i)];
			recordstore.getRecord(i, abyte0, 0);
			recordstore.closeRecordStore();
			return abyte0;
		}
		catch (Exception )
		{
			return (new byte[] {
				-1
			});
		}
	}

	public static final int a(byte byte0, byte byte1, byte byte2, byte byte3)
	{
		return ((byte0 & 0xff) << 24) + ((byte1 & 0xff) << 16) + ((byte2 & 0xff) << 8) + (byte3 & 0xff);
	}

	public static final byte[] a(int i)
	{
		byte abyte0[];
		(abyte0 = new byte[4])[0] = (byte)(i >> 24 & 0xff);
		abyte0[1] = (byte)(i >> 16 & 0xff);
		abyte0[2] = (byte)(i >> 8 & 0xff);
		abyte0[3] = (byte)(i & 0xff);
		return abyte0;
	}

	public static final DataInputStream c(String s)
	{
		try
		{
			return new DataInputStream((new Object()).getClass().getResourceAsStream(s));
		}
		catch (Exception )
		{
			return null;
		}
	}
}

⌨️ 快捷键说明

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