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

📄 t.java

📁 // pica客户端J2ME源码
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
// pica客户端J2ME源码,100%可运行可修改,J2ME逆向工程经典作品
// 作者:fangji999
// QQ:57979471 Email:fangji999@163.com
// 博客:http://hi.baidu.com/ccall_net
// QQ群:51719370
// 如用此源码重新改写的软件或转载,请保留本人联系方式,作品原创作者

package pica;

import java.util.*;
import javax.microedition.lcdui.Display;
import javax.microedition.lcdui.Graphics;

// Referenced classes of package pica:
//			aa, Pica, ac, ah, 
//			c, h, j, m, 
//			o, q, s, v, 
//			w, y, p
//组群增删类
public final class t extends aa
{

	private c cc;
	private c d;
	public c a;
	public Object b;
	private y e;

	public t()
	{
		super(Pica.l);
                // System.out.println("tttest11");
		cc  = null;
		d = null;
		a = null;
               //   System.out.println("tttest22");
		e = new y();
		super.q = "联系人";
		super.r = Pica.t;
		super.si = 0;
                try {
                //    System.out.println("tttest33");
                        cc = new c("我的好友", (byte)2);

                        d = new c("陌生人", (byte)8);
                        a = new c("黑名单", (byte)4);
                        a(cc);
                        a(d);
                        a(a);
                } catch (Exception ex) {
                    ex.printStackTrace();
                }                
//		return;
//		JVM INSTR dup ;
//		Exception exception;
//		exception;
//		printStackTrace();
	}

	public final void a(c c1)
		throws Exception
	{
		if (p().contains(c1))
			return;
		c c2;
		if ((c2 = b(c1.b, c1.c)) != null)
		{
			return;
		} else
		{
			super.a(c1);//a(c1);
			return;
		}
	}

	public final void b(c c1)
	{
		if (c1.c == 3)
		{
			super.b(c1);//b(c1);
			super.p = 0;
			super.oi = 0;
			Pica.l.a(this);
		}
	}

	public final void a(String s1, byte byte0)
	{
		c c1;
		if ((c1 = b(s1, byte0)) == null)
			return;
		ah ah1;
		if ((ah1 = c1.a).q() != 0)
		{
			for (int k = 0; k < ah1.q(); k++)
				ah1.p().setElementAt(null, k);

			ah1.m();
		}
		b(c1);//b(c1);
		super.p = 0;
		super.oi = 0;
		Pica.l.a(this);
		System.gc();
	}

	public final void a(String s1, String s2)
	{
		c c1;
		if ((c1 = b(s1, (byte)3)) != null)
		{
			c1.b = s2;
			c1.a.q = s2;
			Pica.l.a(this);
		}
	}

	public final c b(String s1, byte byte0)
	{
		for (int k = 0; k < p().size(); k++)
		{
			c c1 = (c)p().elementAt(k);
			if (s1.equals(c1.b) && byte0 == c1.c)
				return c1;
		}

		return null;
	}

	public final m b(String s1)
	{
//		Object obj = null;
//		Object obj1 = null;
//		Object obj2 = null;
		boolean flag = false;
		for (int i1 = 0; i1 < q(); i1++)
		{
			 c c1;//c c1;//组
			ah ah1 = (c1 = (c)b(i1)).a;//ah ah1 = (c1 = (c)b(i1)).a; 取组员
			for (int k = 0; k < ah1.q(); k++)//取每个组员比较是否存在姓名
			{
                                pica.m m1;//联系人初      
                                //System.out.println ("联系人列表:"+(m1 = (pica.m)ah1.b(k)).equals(s1));
				if ((m1 = (pica.m)ah1.b(k)).equals(s1))//if ((m1 = (m)ah1.b(k)).equals(s1))
					return m1;
			}

		}

		return null;
	}

	public final c c(String s1)
	{
//		Object obj = null;
//		Object obj1 = null;
//		Object obj2 = null;
		boolean flag = false;
		for (int i1 = 0; i1 < q(); i1++)
		{
			c c1;
			ah ah1 = (c1 = (c)b(i1)).a;//ah ah1 = (c1 = (c)b(i1)).a;
			for (int k = 0; k < ah1.q(); k++)
			{
				pica.m m1;//联系人初
				if ((m1 = (pica.m)ah1.b(k)).equals(s1)) //if ((m1 = (m)ah1.b(k)).equals(s1))                            
					return c1;
			}

		}

		return null;
	}

	private void a(m m1, String s1, byte byte0)
	{
		c c1;
		if ((c1 = b(s1, byte0)) != null)
		{
			c1.a.a(m1);
			if (Pica.aR && (((o) (m1)).j.endsWith("@msn.pica") || ((o) (m1)).j.endsWith("@cluster.qq.pica") || ((o) (m1)).j.endsWith("@qq.pica") || ((o) (m1)).j.endsWith("@pica")))
				c1.a.a();
		}
	}

	public static void a()
	{
		try
		{
			Enumeration enumeration = Pica.g.c.keys();
			do
			{
				if (!enumeration.hasMoreElements())
					break;
				String s1 = (String)enumeration.nextElement();
				m m1;
				if ((m1 = Pica.m.b(s1)).s == 15)
				{
					Pica.m.d(s1);
					Pica.g.c.remove(s1);
				}
			} while (true);
			return;
		}
		catch (Exception  e)
		{
			return;
		}
	}

	public final void a(String s1, String s2, String s3, byte byte0, byte byte1, byte byte2, String as[][], 
			boolean flag, String s4, String s5, String s6)
	{
		pica.c c1;
		pica.m m1;
		pica.c c2 = null;
                //s1:标识;s2:姓名;s3:分组
		try
		{
			c1 = new c(s3, byte1);
			m1 = new m(s1, s2, byte0, byte2, as, flag, c1, s4, s5, s6);
			if (byte0 == 11)
				m1.s = 0;
                        // System.out.println("处理联系人s1:"+s1+":s2:"+s2+":s3:"+s3);
			
                        if (Pica.aR){//if (!Pica.aR){
//				break MISSING_BLOCK_LABEL_134; 
                            pica.m m2 = Pica.m.b(s1);//比较联系人pica.m m2 = Pica.m.b(s1);
                           
                            c2 = Pica.m.c(s1);//比较分组 c2 = Pica.m.c(s1);
                             //System.out.println("处理联系人22Pica.aR:"+Pica.aR);  
                            if (m2 != null){//  if (m2 == null){
                              //  System.out.println("处理联系人22:"+s2+":byte0:"+byte0+":m2.s:"+m2.s+":m2.p:"+m2.p);
    //				break MISSING_BLOCK_LABEL_134;
                                m2.a = s2;
                                m2.t = byte0;                       
                                m1.s = m2.s;
                                m1.p = ((o) (m2)).p;//m1.p = ((o) (m2)).p;
                               // System.out.println("处理联系人44:"+":c1:"+c1.b);
                                if (c2.equals(c1))
                                        return;
                                 //System.out.println("删除联系人22:"+s2);
                                c2.a.b(s1);//删除分组和联系人。
                          }//
                      }

                     a(c1);//如果没找到添加分组
                     a(m1, c1.b, byte1);//位置调整
                } catch (Exception ex) {
                   // System.out.println("分组异常:"+ex.getMessage());
                     return;
                }
		
		return;
	}

	public final void a(v v1)
	{
		if (Pica.Z || Pica.aa)
		{
			v1.e = "取消转发";
			return;
		}
		if (Pica.ab)
		{
			v1.e = "取消";
			return;
		}
		v1.e = "";
		v1.a("联系人");
		v1.a("修改组名");
		String as[] = {
			"输入PICA号", "看谁在线", "高级查找"
		};
		v1.a("添加好友", as);
		v1.a("我的状态");
		String as1[] = new String[2];
		if (Pica.aF == 15)
			as1[0] = "连接QQ";
		else
			as1[0] = "断开QQ";
		if (Pica.aG == 15)
			as1[1] = "连接MSN";
		else
			as1[1] = "断开MSN";
		v1.a("连接IM", as1);
		v1.a("邀请好友");
		String as2[] = {
			"个人资料", "修改密码", "系统设置", "手机号验证"
		};
		v1.a("设置", as2);
		String as3[] = {
			"帮助", "退出"
		};
		v1.a("系统", as3);
	}

	public final void a(String s1)
	{
		if (s1 == "我的状态")
		{
			w.c();
			return;
		}
		if (s1 == "输入PICA号")
		{
			i();
			return;
		}
		if (s1 == "看谁在线")
		{
			e();
			return;
		}
		if (s1 == "高级查找")
		{
			w.a(true);
			return;
		}
		if (s1 == "修改组名")
		{
			l();
			return;
		}
		if (s1 == "帮助")
		{
			t();
			return;
		}
		if (s1 == "退出")
		{
			u();
			return;
		}
		if (s1 == "免费短信")
			if (Pica.aN)
			{
				w.i();
				return;
			} else
			{
				w.g();
				w.a("请先进行手机号验证", 2, Pica.l);
				return;
			}
		if (s1 == "邀请好友")
		{
			w.j();
			return;
		}
		if (s1 == "连接QQ")
		{
			w.d();
			return;
		}
		if (s1 == "连接MSN")
		{
			w.f();
			return;
		}
		if (s1 == "断开QQ")
		{
			g("qq.pica");
			return;
		}
		if (s1 == "断开MSN")
		{
			g("msn.pica");
			return;
		}
		if (s1 == "取消转发")
		{
			if (Pica.Z)
			{
				Pica.Z = false;
				Pica.l.a(0);
				return;
			}
			if (Pica.aa)
			{
				Pica.aa = false;
				Pica.l.a(Pica.l.d.size() - 2);
				return;
			}
		} else
		{
			if (Pica.ab && s1 == "取消")
			{
				Pica.ab = false;
				Pica.l.a(2);
				return;
			}
			if (s1 == "个人资料")
			{
				w.a(false);
				return;
			}
			if (s1 == "修改密码")
			{
				w.h();
				return;

⌨️ 快捷键说明

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