📄 f.java
字号:
// 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.Vector;
import javax.microedition.rms.RecordStore;
import javax.microedition.rms.RecordStoreException;
import java.io.*;
public class f extends Vector
{
private static final String a = "Bookmarks";
public f()
{
label0:
{
RecordStore recordstore = null;
try
{
recordstore = RecordStore.openRecordStore("Bookmarks", false);
for(int i = 1; i <= recordstore.getNumRecords(); i++)
addElement(n.a(recordstore.getRecord(i)));
}
catch(RecordStoreException recordstoreexception)
{
try
{
if(recordstore != null)
recordstore.closeRecordStore();
}
catch(RecordStoreException recordstoreexception2) { }
break label0;
}
finally
{
try
{
if(recordstore != null)
recordstore.closeRecordStore();
}
catch(RecordStoreException recordstoreexception3) { }
//throw exception;
}
try
{
if(recordstore != null)
recordstore.closeRecordStore();
}
catch(RecordStoreException recordstoreexception1) { }
break label0;
}
trimToSize();
}
private void a(int i, int j)
{
label0:
{
RecordStore recordstore = null;
try
{
recordstore = RecordStore.openRecordStore("Bookmarks", true);
int k = recordstore.getNumRecords();
for(int l = i; l < i + j; l++)
{
byte abyte0[] = ((n)elementAt(l))._mthif();
if(l < k)
recordstore.setRecord(l + 1, abyte0, 0, abyte0.length);
else
recordstore.addRecord(abyte0, 0, abyte0.length);
}
for(int i1 = size() + 1; i1 <= k; i1++)
recordstore.deleteRecord(i1);
}
catch(RecordStoreException recordstoreexception)
{
try
{
if(recordstore != null)
recordstore.closeRecordStore();
}
catch(RecordStoreException recordstoreexception2) { }
break label0;
}
finally
{
try
{
if(recordstore != null)
recordstore.closeRecordStore();
}
catch(RecordStoreException recordstoreexception3) { }
//throw exception;
}
try
{
if(recordstore != null)
recordstore.closeRecordStore();
}
catch(RecordStoreException recordstoreexception1) { }
break label0;
}
trimToSize();
}
public n _mthif(int i)
{
if(i >= 0 && i < size())
return (n)elementAt(i);
else
return null;
}
public void a(n n1)
{
int i = indexOf(n1);
if(i == -1)
{
addElement(n1);
a(size() - 1, 1);
} else
{
a(i, 1);
}
}
public void a(int i)
{
if(i >= 0 && i < size())
{
removeElementAt(i);
a(i, size() - i);
}
}
/*static
{
a = "Bookmarks";
}*/
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -