/* Class660 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */
import java.util.Arrays;
import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;

public class Class660 implements Interface9, Interface71
{
    int anInt8403;
    public Class422 aClass422_8404;
    int anInt8405;
    String aString8406 = "null";
    Map aMap8407;
    Object[] anObjectArray8408;
    public Class422 aClass422_8409;
    HashMap aHashMap8410;
    
    void method7866(int i) {
	HashMap hashmap = new HashMap();
	if (null != ((Class660) this).anObjectArray8408) {
	    for (int i_0_ = 0;
		 i_0_ < ((Class660) this).anObjectArray8408.length; i_0_++) {
		if (((Class660) this).anObjectArray8408[i_0_] != null) {
		    Object object = ((Class660) this).anObjectArray8408[i_0_];
		    List list = (List) hashmap.get(object);
		    if (null == list) {
			list = new LinkedList();
			hashmap.put(object, list);
		    }
		    list.add(new Integer(i_0_));
		}
	    }
	} else if (null != ((Class660) this).aMap8407) {
	    Iterator iterator
		= ((Class660) this).aMap8407.entrySet().iterator();
	    while (iterator.hasNext()) {
		Map.Entry entry = (Map.Entry) iterator.next();
		Object object = entry.getValue();
		List list = (List) hashmap.get(object);
		if (list == null) {
		    list = new LinkedList();
		    hashmap.put(object, list);
		}
		list.add(entry.getKey());
	    }
	} else
	    throw new IllegalStateException();
	((Class660) this).aHashMap8410 = new HashMap();
	Iterator iterator = hashmap.entrySet().iterator();
	while (iterator.hasNext()) {
	    Map.Entry entry = (Map.Entry) iterator.next();
	    List list = (List) entry.getValue();
	    int[] is = new int[list.size()];
	    int i_1_ = 0;
	    Iterator iterator_2_ = list.iterator();
	    while (iterator_2_.hasNext()) {
		Integer integer = (Integer) iterator_2_.next();
		is[i_1_++] = integer.intValue();
	    }
	    if (null == ((Class660) this).anObjectArray8408)
		Arrays.sort(is);
	    ((Class660) this).aHashMap8410.put(entry.getKey(), is);
	}
    }
    
    public void method36(Class487_Sub17 class487_sub17, int i) {
	for (;;) {
	    int i_3_ = class487_sub17.method9219(-1618885440);
	    if (0 == i_3_)
		break;
	    method7874(class487_sub17, i_3_, (byte) 116);
	}
    }
    
    public void method35() {
	/* empty */
    }
    
    public int method7867(int i, short i_4_) {
	Object object = method7872(i, (byte) -1);
	if (null == object)
	    return 776316035 * ((Class660) this).anInt8403;
	return ((Integer) object).intValue();
    }
    
    public int method7868(byte i) {
	return 79573873 * ((Class660) this).anInt8405;
    }
    
    Class660() {
	((Class660) this).anInt8405 = 0;
    }
    
    public boolean method7869(Object object, int i) {
	if (0 == 79573873 * ((Class660) this).anInt8405)
	    return false;
	if (null == ((Class660) this).aHashMap8410)
	    method7866(1564268235);
	return ((Class660) this).aHashMap8410.containsKey(object);
    }
    
    public int[] method7870(Object object, byte i) {
	if (0 == 79573873 * ((Class660) this).anInt8405)
	    return null;
	if (((Class660) this).aHashMap8410 == null)
	    method7866(-528522396);
	return (int[]) ((Class660) this).aHashMap8410.get(object);
    }
    
    void method7871() {
	HashMap hashmap = new HashMap();
	if (null != ((Class660) this).anObjectArray8408) {
	    for (int i = 0; i < ((Class660) this).anObjectArray8408.length;
		 i++) {
		if (((Class660) this).anObjectArray8408[i] != null) {
		    Object object = ((Class660) this).anObjectArray8408[i];
		    List list = (List) hashmap.get(object);
		    if (null == list) {
			list = new LinkedList();
			hashmap.put(object, list);
		    }
		    list.add(new Integer(i));
		}
	    }
	} else if (null != ((Class660) this).aMap8407) {
	    Iterator iterator
		= ((Class660) this).aMap8407.entrySet().iterator();
	    while (iterator.hasNext()) {
		Map.Entry entry = (Map.Entry) iterator.next();
		Object object = entry.getValue();
		List list = (List) hashmap.get(object);
		if (list == null) {
		    list = new LinkedList();
		    hashmap.put(object, list);
		}
		list.add(entry.getKey());
	    }
	} else
	    throw new IllegalStateException();
	((Class660) this).aHashMap8410 = new HashMap();
	Iterator iterator = hashmap.entrySet().iterator();
	while (iterator.hasNext()) {
	    Map.Entry entry = (Map.Entry) iterator.next();
	    List list = (List) entry.getValue();
	    int[] is = new int[list.size()];
	    int i = 0;
	    Iterator iterator_5_ = list.iterator();
	    while (iterator_5_.hasNext()) {
		Integer integer = (Integer) iterator_5_.next();
		is[i++] = integer.intValue();
	    }
	    if (null == ((Class660) this).anObjectArray8408)
		Arrays.sort(is);
	    ((Class660) this).aHashMap8410.put(entry.getKey(), is);
	}
    }
    
    Object method7872(int i, byte i_6_) {
	if (null != ((Class660) this).anObjectArray8408) {
	    if (i < 0 || i >= ((Class660) this).anObjectArray8408.length)
		return null;
	    return ((Class660) this).anObjectArray8408[i];
	}
	if (((Class660) this).aMap8407 != null)
	    return ((Class660) this).aMap8407.get(new Integer(i));
	return null;
    }
    
    public void method33(short i) {
	/* empty */
    }
    
    public void method451(int i, byte i_7_) {
	/* empty */
    }
    
    public void method34(Class487_Sub17 class487_sub17) {
	for (;;) {
	    int i = class487_sub17.method9219(-2010263919);
	    if (0 == i)
		break;
	    method7874(class487_sub17, i, (byte) 123);
	}
    }
    
    public int method7873() {
	return 79573873 * ((Class660) this).anInt8405;
    }
    
    void method7874(Class487_Sub17 class487_sub17, int i, byte i_8_) {
	if (1 == i) {
	    char c
		= Class254.method3530(class487_sub17.method9277(-1062256416),
				      (byte) -88);
	    aClass422_8409 = Class422.method5149(c, (byte) 0);
	} else if (2 == i) {
	    char c
		= Class254.method3530(class487_sub17.method9277(-1133771641),
				      (byte) -102);
	    aClass422_8404 = Class422.method5149(c, (byte) 0);
	} else if (3 == i)
	    ((Class660) this).aString8406
		= class487_sub17.method9281((byte) 16);
	else if (i == 4)
	    ((Class660) this).anInt8403
		= class487_sub17.method9224((byte) -91) * 1126877739;
	else if (5 == i || i == 6) {
	    ((Class660) this).anInt8405
		= class487_sub17.method9220((byte) -50) * -1009111663;
	    ((Class660) this).aMap8407
		= new HashMap(((Class660) this).anInt8405 * 79573873);
	    for (int i_9_ = 0; i_9_ < ((Class660) this).anInt8405 * 79573873;
		 i_9_++) {
		int i_10_ = class487_sub17.method9224((byte) -112);
		java.io.Serializable serializable;
		if (i == 5)
		    serializable = class487_sub17.method9281((byte) 93);
		else
		    serializable
			= new Integer(class487_sub17.method9224((byte) -54));
		((Class660) this).aMap8407.put(new Integer(i_10_),
					       serializable);
	    }
	} else if (i == 7 || i == 8) {
	    int i_11_ = class487_sub17.method9220((byte) -40);
	    ((Class660) this).anInt8405
		= class487_sub17.method9220((byte) -121) * -1009111663;
	    ((Class660) this).anObjectArray8408 = new Object[i_11_];
	    for (int i_12_ = 0; i_12_ < 79573873 * ((Class660) this).anInt8405;
		 i_12_++) {
		int i_13_ = class487_sub17.method9220((byte) -91);
		if (7 == i)
		    ((Class660) this).anObjectArray8408[i_13_]
			= class487_sub17.method9281((byte) 69);
		else
		    ((Class660) this).anObjectArray8408[i_13_]
			= new Integer(class487_sub17.method9224((byte) -72));
	    }
	} else if (101 == i)
	    aClass422_8409
		= ((Class422)
		   Class268.method3708(Class422.method5147((byte) 49),
				       class487_sub17.method9234((byte) 8),
				       -471237560));
	else if (102 == i)
	    aClass422_8404
		= ((Class422)
		   Class268.method3708(Class422.method5147((byte) -18),
				       class487_sub17.method9234((byte) -114),
				       -1952652442));
    }
    
    public String method7875(int i, int i_14_) {
	Object object = method7872(i, (byte) -1);
	if (object == null)
	    return ((Class660) this).aString8406;
	return (String) object;
    }
    
    public void method44(int i) {
	/* empty */
    }
    
    public int method7876(int i) {
	Object object = method7872(i, (byte) -1);
	if (null == object)
	    return 776316035 * ((Class660) this).anInt8403;
	return ((Integer) object).intValue();
    }
    
    public String method7877(int i) {
	Object object = method7872(i, (byte) -1);
	if (object == null)
	    return ((Class660) this).aString8406;
	return (String) object;
    }
    
    public String method7878(int i) {
	Object object = method7872(i, (byte) -1);
	if (object == null)
	    return ((Class660) this).aString8406;
	return (String) object;
    }
    
    Object method7879(int i) {
	if (null != ((Class660) this).anObjectArray8408) {
	    if (i < 0 || i >= ((Class660) this).anObjectArray8408.length)
		return null;
	    return ((Class660) this).anObjectArray8408[i];
	}
	if (((Class660) this).aMap8407 != null)
	    return ((Class660) this).aMap8407.get(new Integer(i));
	return null;
    }
    
    public boolean method7880(Object object) {
	if (0 == 79573873 * ((Class660) this).anInt8405)
	    return false;
	if (null == ((Class660) this).aHashMap8410)
	    method7866(761281417);
	return ((Class660) this).aHashMap8410.containsKey(object);
    }
    
    public int method7881() {
	return 79573873 * ((Class660) this).anInt8405;
    }
    
    public void method450(int i) {
	/* empty */
    }
    
    public int method7882() {
	return 79573873 * ((Class660) this).anInt8405;
    }
    
    void method7883() {
	HashMap hashmap = new HashMap();
	if (null != ((Class660) this).anObjectArray8408) {
	    for (int i = 0; i < ((Class660) this).anObjectArray8408.length;
		 i++) {
		if (((Class660) this).anObjectArray8408[i] != null) {
		    Object object = ((Class660) this).anObjectArray8408[i];
		    List list = (List) hashmap.get(object);
		    if (null == list) {
			list = new LinkedList();
			hashmap.put(object, list);
		    }
		    list.add(new Integer(i));
		}
	    }
	} else if (null != ((Class660) this).aMap8407) {
	    Iterator iterator
		= ((Class660) this).aMap8407.entrySet().iterator();
	    while (iterator.hasNext()) {
		Map.Entry entry = (Map.Entry) iterator.next();
		Object object = entry.getValue();
		List list = (List) hashmap.get(object);
		if (list == null) {
		    list = new LinkedList();
		    hashmap.put(object, list);
		}
		list.add(entry.getKey());
	    }
	} else
	    throw new IllegalStateException();
	((Class660) this).aHashMap8410 = new HashMap();
	Iterator iterator = hashmap.entrySet().iterator();
	while (iterator.hasNext()) {
	    Map.Entry entry = (Map.Entry) iterator.next();
	    List list = (List) entry.getValue();
	    int[] is = new int[list.size()];
	    int i = 0;
	    Iterator iterator_15_ = list.iterator();
	    while (iterator_15_.hasNext()) {
		Integer integer = (Integer) iterator_15_.next();
		is[i++] = integer.intValue();
	    }
	    if (null == ((Class660) this).anObjectArray8408)
		Arrays.sort(is);
	    ((Class660) this).aHashMap8410.put(entry.getKey(), is);
	}
    }
    
    public void method32() {
	/* empty */
    }
    
    void method7884() {
	HashMap hashmap = new HashMap();
	if (null != ((Class660) this).anObjectArray8408) {
	    for (int i = 0; i < ((Class660) this).anObjectArray8408.length;
		 i++) {
		if (((Class660) this).anObjectArray8408[i] != null) {
		    Object object = ((Class660) this).anObjectArray8408[i];
		    List list = (List) hashmap.get(object);
		    if (null == list) {
			list = new LinkedList();
			hashmap.put(object, list);
		    }
		    list.add(new Integer(i));
		}
	    }
	} else if (null != ((Class660) this).aMap8407) {
	    Iterator iterator
		= ((Class660) this).aMap8407.entrySet().iterator();
	    while (iterator.hasNext()) {
		Map.Entry entry = (Map.Entry) iterator.next();
		Object object = entry.getValue();
		List list = (List) hashmap.get(object);
		if (list == null) {
		    list = new LinkedList();
		    hashmap.put(object, list);
		}
		list.add(entry.getKey());
	    }
	} else
	    throw new IllegalStateException();
	((Class660) this).aHashMap8410 = new HashMap();
	Iterator iterator = hashmap.entrySet().iterator();
	while (iterator.hasNext()) {
	    Map.Entry entry = (Map.Entry) iterator.next();
	    List list = (List) entry.getValue();
	    int[] is = new int[list.size()];
	    int i = 0;
	    Iterator iterator_16_ = list.iterator();
	    while (iterator_16_.hasNext()) {
		Integer integer = (Integer) iterator_16_.next();
		is[i++] = integer.intValue();
	    }
	    if (null == ((Class660) this).anObjectArray8408)
		Arrays.sort(is);
	    ((Class660) this).aHashMap8410.put(entry.getKey(), is);
	}
    }
}
