/* Class131 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */

public abstract class Class131
{
    static int anInt1540;
    
    Class131() {
	/* empty */
    }
    
    static final void method1673(Class612 class612, int i) {
	((Class612) class612).anIntArray8021
	    [(((Class612) class612).anInt8022 += 201091009) * -40654783 - 1]
	    = Class447.aClass487_Sub42_5156.aClass637_Sub28_10518
		  .method9844(-777522458) == 1 ? 1 : 0;
    }
    
    public static String method1674(String string, char c, String string_0_,
				    int i) {
	int i_1_ = string.length();
	int i_2_ = string_0_.length();
	int i_3_ = i_1_;
	int i_4_ = i_2_ - 1;
	if (0 != i_4_) {
	    int i_5_ = 0;
	    for (;;) {
		i_5_ = string.indexOf(c, i_5_);
		if (i_5_ < 0)
		    break;
		i_5_++;
		i_3_ += i_4_;
	    }
	}
	StringBuilder stringbuilder = new StringBuilder(i_3_);
	int i_6_ = 0;
	for (;;) {
	    int i_7_ = string.indexOf(c, i_6_);
	    if (i_7_ < 0)
		break;
	    stringbuilder.append(string.substring(i_6_, i_7_));
	    stringbuilder.append(string_0_);
	    i_6_ = 1 + i_7_;
	}
	stringbuilder.append(string.substring(i_6_));
	return stringbuilder.toString();
    }
    
    static final void method1675(Class612 class612, int i) {
	Class625 class625 = (((Class612) class612).aBool8038
			     ? ((Class612) class612).aClass625_8045
			     : ((Class612) class612).aClass625_8029);
	Class211 class211 = ((Class625) class625).aClass211_8099;
	Class203 class203 = ((Class625) class625).aClass203_8100;
	Class619.method7453(class211, class203, class612, (byte) 43);
    }
    
    public static final void method1676(Class590_Sub1 class590_sub1, int i,
					boolean bool, int i_8_) {
	Class250.method3515(class590_sub1, i, true, bool, (byte) 118);
    }
    
    public static String method1677(Class487_Sub35_Sub16 class487_sub35_sub16,
				    byte i) {
	if (Class25.aBool377 || class487_sub35_sub16 == null)
	    return "";
	if ((null == ((Class487_Sub35_Sub16) class487_sub35_sub16).aString11475
	     || ((Class487_Sub35_Sub16) class487_sub35_sub16).aString11475
		    .length() == 0)
	    && (((Class487_Sub35_Sub16) class487_sub35_sub16).aString11487
		!= null)
	    && ((Class487_Sub35_Sub16) class487_sub35_sub16).aString11487
		   .length() > 0)
	    return ((Class487_Sub35_Sub16) class487_sub35_sub16).aString11487;
	return ((Class487_Sub35_Sub16) class487_sub35_sub16).aString11475;
    }
}
